refactor: entity not found exceptions handler
This commit is contained in:
@ -7,6 +7,7 @@ from schemas.status import UpdateStatusSchema, CreateStatusSchema
|
||||
|
||||
class StatusRepository(RepCrudMixin[Status, CreateStatusSchema, UpdateStatusSchema]):
|
||||
entity_class = Status
|
||||
entity_not_found_msg = "Статус не найден"
|
||||
|
||||
def _process_get_all_stmt_with_args(self, stmt: Select, *args) -> Select:
|
||||
board_id = args[0]
|
||||
|
||||
Reference in New Issue
Block a user