ashwinR's picture
Upload 245 files
b7a7f32
raw
history blame
364 Bytes
from cruds.base import CRUDBase
from schemas.${snake_case_name} import ${PascalCaseName}Create, ${PascalCaseName}Update
from models.${snake_case_name} import ${PascalCaseName}
class CRUD${PascalCaseName}(CRUDBase[${PascalCaseName}, ${PascalCaseName}Create, ${PascalCaseName}Update]):
pass
crud_${snake_case_name} = CRUD${PascalCaseName}(${PascalCaseName})