Bases: typing.Generic[_CallbackT_co]
, abc.ABC
Source code in mongorunway\domain\migration_command.py
| class MigrationCommand(typing.Generic[_CallbackT_co], abc.ABC):
__slots__ = ()
@property
def name(self) -> str:
return self.__class__.__name__
@abc.abstractmethod
def execute(self, ctx: domain_context.MigrationContext) -> _CallbackT_co:
...
|
__slots__ = ()
instance-attribute
class-attribute
execute(ctx)
abstractmethod
Source code in mongorunway\domain\migration_command.py
| @abc.abstractmethod
def execute(self, ctx: domain_context.MigrationContext) -> _CallbackT_co:
...
|