We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b1c2a9 commit f31bee1Copy full SHA for f31bee1
backend/app/schemas/features.py
@@ -35,4 +35,4 @@ class FeatureUpdate(CustomPydanticBase):
35
36
Tortoise.init_models(["app.models.features"], "models")
37
38
-FeatureOut = pydantic_model_creator(Feature)
+FeatureOut = pydantic_model_creator(Feature, name="models.Feature")
backend/app/schemas/guests.py
@@ -18,4 +18,4 @@ class GuestUpdate(CustomPydanticBase):
18
19
Tortoise.init_models(["app.models.guests"], "models")
20
21
-GuestOut = pydantic_model_creator(Guest)
+GuestOut = pydantic_model_creator(Guest, name="models.Guest")
backend/app/services/__init__.py
backend/app/services/features.py
@@ -1,4 +1,4 @@
1
-from slugify import slugify
+from slugify import slugify # type: ignore
2
3
4
def feature_with_slug_exists(slug: str) -> bool:
0 commit comments