Skip to content

Commit 1019da9

Browse files
committed
Fix typehints for BaseBaskend properties
1 parent acc1f92 commit 1019da9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/commercetools/testing/abstract.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ class GenericSchema(traits.QuerySchema, traits.SortableSchema, traits.PagingSche
177177
class ServiceBackend(BaseBackend):
178178
hostnames = ["api.sphere.io", "localhost"]
179179
model_class: typing.Any = None
180-
_schema_draft: typing.Optional[marshmallow.Schema] = None
181-
_schema_update: typing.Optional[marshmallow.Schema] = None
182-
_schema_query_response: typing.Optional[marshmallow.Schema] = None
180+
_schema_draft: typing.Optional[typing.Type[marshmallow.Schema]] = None
181+
_schema_update: typing.Optional[typing.Type[marshmallow.Schema]] = None
182+
_schema_query_response: typing.Optional[typing.Type[marshmallow.Schema]] = None
183183
_schema_query_params: marshmallow.Schema = GenericSchema
184184
_query_default_limit = 20
185185

0 commit comments

Comments
 (0)