You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IExternalEmailImportService is the interface.
ExternalEmailImportService is the implementation.
I can't seem to subscript PROVIDE like PROVIDE[IExternalEmailImportService] the way it is possible with Provide from magic_di.fastapi.
class IExternalEmailImportService(Protocol):
@abstractmethod
async def process(self):
pass
class ExternalEmailImportService(Connectable):
pass
.. and I tried this with ExternalEmailImportService inheriting from IExternalEmailImportService (as it should under normal circumstances, especially if I want to do type & method checking for the injeritance).
The text was updated successfully, but these errors were encountered:
I example here for the FastAPI version of what I'm looking to do.
I was hoping this would work, but it does not:
IExternalEmailImportService is the interface.
ExternalEmailImportService is the implementation.
I can't seem to subscript PROVIDE like
PROVIDE[IExternalEmailImportService]
the way it is possible with Provide from magic_di.fastapi... and I tried this with ExternalEmailImportService inheriting from IExternalEmailImportService (as it should under normal circumstances, especially if I want to do type & method checking for the injeritance).
The text was updated successfully, but these errors were encountered: