ul-api-utils 8.1.14__py3-none-any.whl → 8.1.16__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.
Potentially problematic release.
This version of ul-api-utils might be problematic. Click here for more details.
- ul_api_utils/api_resource/api_resource_fn_typing.py +0 -3
- ul_api_utils/api_resource/api_response.py +1 -1
- {ul_api_utils-8.1.14.dist-info → ul_api_utils-8.1.16.dist-info}/METADATA +1 -1
- {ul_api_utils-8.1.14.dist-info → ul_api_utils-8.1.16.dist-info}/RECORD +8 -8
- {ul_api_utils-8.1.14.dist-info → ul_api_utils-8.1.16.dist-info}/LICENSE +0 -0
- {ul_api_utils-8.1.14.dist-info → ul_api_utils-8.1.16.dist-info}/WHEEL +0 -0
- {ul_api_utils-8.1.14.dist-info → ul_api_utils-8.1.16.dist-info}/entry_points.txt +0 -0
- {ul_api_utils-8.1.14.dist-info → ul_api_utils-8.1.16.dist-info}/top_level.txt +0 -0
|
@@ -32,9 +32,6 @@ def _is_complex_type(annotation):
|
|
|
32
32
|
if origin is Union:
|
|
33
33
|
return any(_is_complex_type(arg) for arg in get_args(annotation))
|
|
34
34
|
|
|
35
|
-
if origin is None:
|
|
36
|
-
return annotation not in (str, int, float, bool, type(None))
|
|
37
|
-
|
|
38
35
|
return origin in (list, dict, tuple, set)
|
|
39
36
|
|
|
40
37
|
def _patch_errors(dest_errors: List[Dict[str, str]], errors: List[ErrorDetails], kind: str) -> List[Dict[str, str]]:
|
|
@@ -5,7 +5,7 @@ from typing import TypeVar, Generic, List, Optional, Dict, Any, Callable, Union,
|
|
|
5
5
|
|
|
6
6
|
import msgpack
|
|
7
7
|
from flask import jsonify, send_file, redirect, Response, request
|
|
8
|
-
from pydantic import BaseModel
|
|
8
|
+
from pydantic import BaseModel, Field
|
|
9
9
|
from pydantic import ConfigDict, RootModel
|
|
10
10
|
from werkzeug import Response as BaseResponse
|
|
11
11
|
|
|
@@ -29,9 +29,9 @@ ul_api_utils/api_resource/api_request.py,sha256=6Ag2trKIkenhYYPU2--hnfNJC5lLgBxV
|
|
|
29
29
|
ul_api_utils/api_resource/api_resource.py,sha256=j-E8KJiXWS1L0oVIerJZlbGpDL2ijlQrck4GrJPWPyE,17840
|
|
30
30
|
ul_api_utils/api_resource/api_resource_config.py,sha256=l9OYJy75UZLshOkEQDO5jlhXeb5H4HDPu-nLOjuoexw,769
|
|
31
31
|
ul_api_utils/api_resource/api_resource_error_handling.py,sha256=E0SWpjFSIP-4SumbgzrHtFuFiGe9q38WsvLROt0YcPE,1168
|
|
32
|
-
ul_api_utils/api_resource/api_resource_fn_typing.py,sha256=
|
|
32
|
+
ul_api_utils/api_resource/api_resource_fn_typing.py,sha256=n5bux_azlV8aRtRQdoIP553tXWHCi7P-brKUAgj502E,18970
|
|
33
33
|
ul_api_utils/api_resource/api_resource_type.py,sha256=mgjSQI3swGpgpLI6y35LYtFrdN-kXyV5cQorwGW7h6g,462
|
|
34
|
-
ul_api_utils/api_resource/api_response.py,sha256=
|
|
34
|
+
ul_api_utils/api_resource/api_response.py,sha256=bfnWo5GZUCzwJm8rDfzcpuYL4l63pBedJ0tTguP--qw,10069
|
|
35
35
|
ul_api_utils/api_resource/api_response_db.py,sha256=ucY6ANPlHZml7JAbvq-PL85z0bvERTjEJKvz-REPyok,888
|
|
36
36
|
ul_api_utils/api_resource/api_response_payload_alias.py,sha256=FoD0LhQGZ2T8A5-VKRX5ADyzSgm7_dd3qxU2BgCVXkA,587
|
|
37
37
|
ul_api_utils/api_resource/db_types.py,sha256=gF0oxisRkYLf7_2e7YEU-HJDxLy3dJCVaJsYQbOfG5k,433
|
|
@@ -148,9 +148,9 @@ ul_api_utils/validators/validate_empty_object.py,sha256=3Ck_iwyJE_M5e7l6s1i88aqb
|
|
|
148
148
|
ul_api_utils/validators/validate_uuid.py,sha256=EfvlRirv2EW0Z6w3s8E8rUa9GaI8qXZkBWhnPs8NFrA,257
|
|
149
149
|
ul_api_utils/validators/__tests__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
150
150
|
ul_api_utils/validators/__tests__/test_custom_fields.py,sha256=20gLlnm1Ithsbbz3NIUXVAd92lW6YwVRSg_nETZhfaI,1442
|
|
151
|
-
ul_api_utils-8.1.
|
|
152
|
-
ul_api_utils-8.1.
|
|
153
|
-
ul_api_utils-8.1.
|
|
154
|
-
ul_api_utils-8.1.
|
|
155
|
-
ul_api_utils-8.1.
|
|
156
|
-
ul_api_utils-8.1.
|
|
151
|
+
ul_api_utils-8.1.16.dist-info/LICENSE,sha256=6Qo8OdcqI8aGrswJKJYhST-bYqxVQBQ3ujKdTSdq-80,1062
|
|
152
|
+
ul_api_utils-8.1.16.dist-info/METADATA,sha256=g3CCq5zlTMjyZp7D7BVWG7WyY6IY7M1KoSHNSnCkSHU,14748
|
|
153
|
+
ul_api_utils-8.1.16.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
154
|
+
ul_api_utils-8.1.16.dist-info/entry_points.txt,sha256=8tL3ySHWTyJMuV1hx1fHfN8zumDVOCOm63w3StphkXg,53
|
|
155
|
+
ul_api_utils-8.1.16.dist-info/top_level.txt,sha256=1XsW8iOSFaH4LOzDcnNyxHpHrbKU3fSn-aIAxe04jmw,21
|
|
156
|
+
ul_api_utils-8.1.16.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|