refactor: mixins for services
This commit is contained in:
@ -14,6 +14,7 @@ class BaseSchema(BaseModel):
|
||||
from_attributes = True
|
||||
alias_generator = to_camel
|
||||
populate_by_name = True
|
||||
arbitrary_types_allowed = True
|
||||
|
||||
@classmethod
|
||||
def from_sql_model(cls, model, fields: dict):
|
||||
|
||||
Reference in New Issue
Block a user