FilingResolver
Resolves a fully qualified class name (_filing_class) to a Filing subclass. Used by Catalog when restoring filings from the index.
Instance
default_resolver: Catalog が resolver 未指定時に使う FilingResolver()。fino_filing.__init__ で EDINETFiling, EdgarArchiveFiling, EdgarBulkFiling, EdgarCompanyFactsFiling を登録。
Methods
register
register(cls: type[Filing]) -> None
Registers a Filing subclass under f"{cls.__module__}.{cls.__qualname__}".
resolve
resolve(name: str | None) -> type[Filing] | None
- Look up
namein the internal registry. - If not found, try dynamic import by the FQCN.
- If resolved, cache in registry and return the class; otherwise return
None(caller may fall back to baseFiling).
Helper
register_filing_class(name: str, cls: type[Filing]) -> None
Registers cls under name on default_resolver. Kept for backward compatibility; prefer default_resolver.register(cls).