starmallow 0.6.2__py3-none-any.whl → 0.6.3__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 -0
- {starmallow-0.6.2.dist-info → starmallow-0.6.3.dist-info}/METADATA +1 -1
- {starmallow-0.6.2.dist-info → starmallow-0.6.3.dist-info}/RECORD +6 -6
- {starmallow-0.6.2.dist-info → starmallow-0.6.3.dist-info}/WHEEL +0 -0
- {starmallow-0.6.2.dist-info → starmallow-0.6.3.dist-info}/licenses/LICENSE.md +0 -0
starmallow/__init__.py
CHANGED
starmallow/endpoint.py
CHANGED
@@ -211,6 +211,7 @@ class EndpointMixin:
|
|
211
211
|
kwargs.update({
|
212
212
|
'load_default': None,
|
213
213
|
'required': False,
|
214
|
+
'allow_none': True, # Even if a default is provided, we should also allow None
|
214
215
|
})
|
215
216
|
# This does not support Union[A,B,C,None]. Only Union[A,None] and Optional[A]
|
216
217
|
model = next((a for a in get_args(type_annotation) if a is not None), None)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
starmallow/__init__.py,sha256=
|
1
|
+
starmallow/__init__.py,sha256=A9KiNmL4PORVsksM-GGh_4ohWvgxkq5cHhHTdiDscDA,322
|
2
2
|
starmallow/applications.py,sha256=mSL4YDozP8n6v22g4NX7EAMXmGhzzhtjtZd68YHcFvw,31720
|
3
3
|
starmallow/concurrency.py,sha256=MVRjo4Vqss_yqhaoeVt3xb7rLaSuAq_q9uYgTwbsojE,1375
|
4
4
|
starmallow/constants.py,sha256=u0h8cJKhJY0oIZqzr7wpEZG2bPLrw5FroMnn3d8KBNQ,129
|
@@ -7,7 +7,7 @@ starmallow/datastructures.py,sha256=iH_KJuJ6kBCWEsnHFLdA3iyb6ZxhfdMHYrJlhiEZtDU,
|
|
7
7
|
starmallow/decorators.py,sha256=MYk3WEFRSfQTN0Y3JoL3Y_Cz47gatMrVEPtNDw42XwU,4105
|
8
8
|
starmallow/delimited_field.py,sha256=gonWgYg6G5xH2yXAyfDgkePmQ8dUaRSp2hdJ3mCfOBw,3466
|
9
9
|
starmallow/docs.py,sha256=eA39LunVMEoPU5ge4qxm2eiJbrFTUSUu5EhG1L_LKxk,6268
|
10
|
-
starmallow/endpoint.py,sha256=
|
10
|
+
starmallow/endpoint.py,sha256=aNsbN0mdcVvIIcdgqICRgoGjIYJAeSVFXcpDlAji0Oc,16017
|
11
11
|
starmallow/endpoints.py,sha256=UrwVZCxbmWI20iNtJ0oXxo4d3-y12TjsOGs_jnStTiU,939
|
12
12
|
starmallow/exception_handlers.py,sha256=gr2qLYWEtsIEH28n7OreEiiLVz6Y7b6osRyS9esJbBk,891
|
13
13
|
starmallow/exceptions.py,sha256=vabtPJkTmtCdC8_2OPBE8Osz0v0KxaSOX6IWf1jgNkc,872
|
@@ -34,7 +34,7 @@ starmallow/security/http.py,sha256=cpGjM1kFDq3i_bOY96kMkf4cspBUxFkkET9lTK3NA-0,6
|
|
34
34
|
starmallow/security/oauth2.py,sha256=1nv1580PY4cwgu5gzpQCf2MfMNv2Cfv05753AUHPOhQ,10005
|
35
35
|
starmallow/security/open_id_connect_url.py,sha256=IPsL2YzWc2mPwJbrUn6oFRTi7uRAG6mR62CGwmzBs1k,1399
|
36
36
|
starmallow/security/utils.py,sha256=bd8T0YM7UQD5ATKucr1bNtAvz_Y3__dVNAv5UebiPvc,293
|
37
|
-
starmallow-0.6.
|
38
|
-
starmallow-0.6.
|
39
|
-
starmallow-0.6.
|
40
|
-
starmallow-0.6.
|
37
|
+
starmallow-0.6.3.dist-info/METADATA,sha256=ccZtRpeODLBXd3pJPyZ-Bsk_w0mxZvmoOtkRsLDvBm8,5615
|
38
|
+
starmallow-0.6.3.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
39
|
+
starmallow-0.6.3.dist-info/licenses/LICENSE.md,sha256=QelyGgOzch8CXzy6HrYwHh7nmj0rlWkDA0YzmZ3CPaY,1084
|
40
|
+
starmallow-0.6.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|