starmallow 0.9.3__py3-none-any.whl → 0.9.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- starmallow/__init__.py +1 -1
- starmallow/endpoint.py +1 -1
- {starmallow-0.9.3.dist-info → starmallow-0.9.4.dist-info}/METADATA +1 -1
- {starmallow-0.9.3.dist-info → starmallow-0.9.4.dist-info}/RECORD +6 -6
- {starmallow-0.9.3.dist-info → starmallow-0.9.4.dist-info}/WHEEL +0 -0
- {starmallow-0.9.3.dist-info → starmallow-0.9.4.dist-info}/licenses/LICENSE.md +0 -0
starmallow/__init__.py
CHANGED
starmallow/endpoint.py
CHANGED
@@ -242,7 +242,7 @@ class EndpointMixin:
|
|
242
242
|
model = class_schema(model) # type: ignore
|
243
243
|
|
244
244
|
mmf = getattr(model, '_marshmallow_field', None)
|
245
|
-
if isinstance(model, NewType) and mmf and
|
245
|
+
if isinstance(model, NewType) and mmf and lenient_issubclass(mmf, mf.Field):
|
246
246
|
return mmf(**kwargs)
|
247
247
|
elif is_marshmallow_schema(model):
|
248
248
|
return SchemaModel(model() if inspect.isclass(model) else model, **kwargs)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
starmallow/__init__.py,sha256=
|
1
|
+
starmallow/__init__.py,sha256=3nXwG54EsuEBFn1WA4yb0O0-vvM1xH3_YWNCvPXo5Yo,691
|
2
2
|
starmallow/applications.py,sha256=wI3mViPAgMAGDUy0PzDLyd6GFQaFY_d1-85LBASATNY,30396
|
3
3
|
starmallow/background.py,sha256=asjTMgO25zqZiKsxcEVBGPKd_Nb7RVZDEmzR4PNy6-k,996
|
4
4
|
starmallow/concurrency.py,sha256=YNIFo8jmHZYXfFkqzL1xFiE5QFwWYnGUsYgAROv041Q,1404
|
@@ -8,7 +8,7 @@ starmallow/datastructures.py,sha256=oq2Dz6zcoQx9ctMSSviZMAX_wvNTT9ytkSBtZjcg7bY,
|
|
8
8
|
starmallow/decorators.py,sha256=VGzfFYualOcplRK6L3Tu2GrCl3a5yrOgADqWMokqzcQ,4036
|
9
9
|
starmallow/delimited_field.py,sha256=4a6ObLK4LBxayd6o5bh5i9bR2K0miOkFFdj8r2km-g8,4286
|
10
10
|
starmallow/docs.py,sha256=tc077aDFAzHTjpnEpqS8BVMhVolaYFmrqQ2obd1Jsbg,6229
|
11
|
-
starmallow/endpoint.py,sha256=
|
11
|
+
starmallow/endpoint.py,sha256=H5zsgBZTBhEm6Mz9jsZhCEDOLFRGSLui7JAiGQHxCZc,17865
|
12
12
|
starmallow/endpoints.py,sha256=2RuKhEX0EpEyWUdlKVfD0WXz_8zNQEduCoZ4UJkybZc,953
|
13
13
|
starmallow/exception_handlers.py,sha256=gr2qLYWEtsIEH28n7OreEiiLVz6Y7b6osRyS9esJbBk,891
|
14
14
|
starmallow/exceptions.py,sha256=arXkENa6dV626t_IDWZKqrh6laeV54PWbVIW0dafT2o,843
|
@@ -37,7 +37,7 @@ starmallow/security/http.py,sha256=wSbRomh9IYAi2nJ4ugFrx2JLg-m85DxWVaUMZt5PwIw,6
|
|
37
37
|
starmallow/security/oauth2.py,sha256=G72-wJyvrGyHUbg9hbzf44RBN8zFalZYnHKpRC2I1po,10108
|
38
38
|
starmallow/security/open_id_connect_url.py,sha256=9E-Zwnt-IR3jimOMkvIwnGHTuJMlGmjs7LCf1SGtKT8,1415
|
39
39
|
starmallow/security/utils.py,sha256=7tziAa2Cwa7xhwM_NF4DSY3BHoqVaWgJ21VuV8LvhrY,253
|
40
|
-
starmallow-0.9.
|
41
|
-
starmallow-0.9.
|
42
|
-
starmallow-0.9.
|
43
|
-
starmallow-0.9.
|
40
|
+
starmallow-0.9.4.dist-info/METADATA,sha256=38FI46vkdcuqWmZMYDnfV6GoFYPocNOqrv695DeTeKE,5563
|
41
|
+
starmallow-0.9.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
42
|
+
starmallow-0.9.4.dist-info/licenses/LICENSE.md,sha256=QelyGgOzch8CXzy6HrYwHh7nmj0rlWkDA0YzmZ3CPaY,1084
|
43
|
+
starmallow-0.9.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|