Filename strategy mongorunway.application.ports.filename_strategy ¤ __all__: typing.Sequence[str] = ('FilenameStrategy') module-attribute ¤ FilenameStrategy ¤ Bases: abc.ABC Source code in mongorunway\application\ports\filename_strategy.py 29 30 31 32 33 34 35 36 37 38class FilenameStrategy(abc.ABC): __slots__: typing.Sequence[str] = () @abc.abstractmethod def is_valid_filename(self, filename: str, /) -> bool: ... @abc.abstractmethod def transform_migration_filename(self, filename: str, position: int) -> str: ... __slots__: typing.Sequence[str] = () instance-attribute class-attribute ¤ is_valid_filename(filename) abstractmethod ¤ Source code in mongorunway\application\ports\filename_strategy.py 32 33 34@abc.abstractmethod def is_valid_filename(self, filename: str, /) -> bool: ... transform_migration_filename(filename, position) abstractmethod ¤ Source code in mongorunway\application\ports\filename_strategy.py 36 37 38@abc.abstractmethod def transform_migration_filename(self, filename: str, position: int) -> str: ...