docs: Update API Docs (#3856)

This commit is contained in:
Michael Genson 2024-07-08 05:01:31 -05:00 committed by GitHub
commit 17f9eef551
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 18 additions and 17 deletions

View file

@ -131,7 +131,7 @@ class BaseCrudController(BaseUserController):
Base class for all CRUD controllers to facilitate common CRUD functions.
"""
event_bus: EventBusService = Depends(EventBusService.create)
event_bus: EventBusService = Depends(EventBusService.as_dependency)
def publish_event(self, event_type: EventTypes, document_data: EventDocumentDataBase, message: str = "") -> None:
self.event_bus.dispatch(