feat: add search
This commit is contained in:
@@ -19,6 +19,7 @@ from src.application.commands import (
|
||||
GetOrganizationDocumentCommand,
|
||||
ListOrganizationDocumentsCommand,
|
||||
ListPurchaseRequestsCommand,
|
||||
SearchPartiesCommand,
|
||||
SetPurchaseRequestQuoteCommand,
|
||||
UpdateOrganizationCommand,
|
||||
UpdatePurchaseRequestStatusCommand,
|
||||
@@ -129,6 +130,13 @@ def get_list_organizations_command(
|
||||
return ListOrganizationsCommand(uow, logger)
|
||||
|
||||
|
||||
def get_search_parties_command(
|
||||
uow: IUnitOfWork = Depends(get_unit_of_work),
|
||||
logger: ILogger = Depends(get_logger),
|
||||
) -> SearchPartiesCommand:
|
||||
return SearchPartiesCommand(uow, logger)
|
||||
|
||||
|
||||
def get_get_organization_command(
|
||||
uow: IUnitOfWork = Depends(get_unit_of_work),
|
||||
logger: ILogger = Depends(get_logger),
|
||||
|
||||
Reference in New Issue
Block a user