lavkach3
1from core.helpers.cache import CacheStrategy2from .models import Uom, UomCategory3from .schemas.uom_category_schemas import UomCategoryCreateScheme, UomCategoryUpdateScheme, UomCategoryFilter, \4UomCategoryScheme
5from .schemas.uom_schemas import UomCreateScheme, UomUpdateScheme, UomFilter, UomScheme6from .services import UomService, UomCategoryService7
8__domain__ = {9'uom': {10'service': UomService,11'model': Uom,12'cache_strategy': CacheStrategy.FULL,13'schemas': {14'create': UomCreateScheme,15'update': UomUpdateScheme,16'filter': UomFilter,17'get': UomScheme18}19},20'uom_category': {21'service': UomCategoryService,22'model': UomCategory,23'cache_strategy': CacheStrategy.FULL,24'schemas': {25'create': UomCategoryCreateScheme,26'update': UomCategoryUpdateScheme,27'filter': UomCategoryFilter,28'get': UomCategoryScheme29}30}31}
32
33