Skip to content

Commit 0bb825f

Browse files
authored
remove __model_name argument (#290)
1 parent 5c2b86f commit 0bb825f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

piccolo_api/crud/endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def pydantic_model_filters(self) -> t.Type[pydantic.BaseModel]:
377377

378378
if multidimensional_array_columns or email_columns:
379379
return pydantic.create_model(
380-
__model_name=model_name,
380+
model_name,
381381
__base__=base_model,
382382
**{
383383
i._meta.name: (

0 commit comments

Comments
 (0)