__init__.py 693 B

12345678910111213141516
  1. # from .crud_item import item
  2. # from .crud_user import user
  3. from .crud_creator import creator
  4. # For a new basic set of CRUD operations you could just do
  5. from .base import CRUDBase
  6. from app.models.link import Link
  7. from app.schemas.link import LinkCreate, LinkUpdate
  8. from app.models.bank import Bank
  9. from app.schemas.bank import BankCreate, BankUpdate
  10. from app.models.benefitsharing import BenefitSharing
  11. from app.schemas.benefitsharing import BenefitSharingCreate, BenefitSharingUpdate
  12. link = CRUDBase[Link, LinkCreate, LinkUpdate](Link)
  13. bank = CRUDBase[Bank, BankCreate, BankUpdate](Bank)
  14. benefitsharing = CRUDBase[BenefitSharing, BenefitSharingCreate, BenefitSharingUpdate](BenefitSharing)