diff --git a/services/module.py b/services/module.py index 1f0bedc..f40cbb8 100644 --- a/services/module.py +++ b/services/module.py @@ -31,13 +31,6 @@ class ModuleService( raise ObjectNotFoundException(f"Модуль с ID {pk} не найден") return GetByIdWithAttributesResponse(entity=module) - async def update_module_common_info( - self, module_id: int, request: UpdateModuleCommonInfoRequest - ) -> UpdateModuleCommonInfoResponse: - module = await self.repository.get_by_id(module_id) - await self.repository.update(module, request) - return UpdateModuleCommonInfoResponse(message="Данные модуля успешно сохранены") - def _build_modules_with_attributes( self, result: list[tuple] ) -> dict[int, ModuleWithAttributesSchema]: