File size: 364 Bytes
b7a7f32
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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})