Code: Select all
def validate_model(self, data, model_type: type[BaseModel] = ProductCreate) -> BaseModel:
# implementation
Code: Select all
ProductCreateWie kann ich das richtig eingeben?
Code: Select all
def validate_model(self, data, model_type: type[BaseModel] = ProductCreate) -> BaseModel:
# implementation
Code: Select all
ProductCreate