# mayim.registry

# Table of Contents

# InterfaceRegistry

class InterfaceRegistry()

[view_source] (opens new window)

# add

@classmethod
def add(cls, interface: BaseInterface) -> None

[view_source] (opens new window)

# reset

@classmethod
def reset(cls)

[view_source] (opens new window)

# LazyHydratorRegistry

class LazyHydratorRegistry()

[view_source] (opens new window)

# add

@classmethod
def add(cls, class_name: str, method_name: str, hydrator: Hydrator) -> None

[view_source] (opens new window)

# get

@classmethod
def get(cls, class_name: str, method_name: str) -> Optional[Hydrator]

[view_source] (opens new window)

# reset

@classmethod
def reset(cls)

[view_source] (opens new window)

# LazyQueryRegistry

class LazyQueryRegistry()

[view_source] (opens new window)

# add

@classmethod
def add(cls, class_name: str, method_name: str, query: str) -> None

[view_source] (opens new window)

# get

@classmethod
def get(cls, class_name: str, method_name: str) -> Optional[str]

[view_source] (opens new window)

# reset

@classmethod
def reset(cls)

[view_source] (opens new window)

# Registry

class Registry(dict)

[view_source] (opens new window)

# register

def register(executor: Union[Type[Executor], Executor]) -> None

[view_source] (opens new window)

# reset

@classmethod
def reset(cls)

[view_source] (opens new window)