ul-api-utils 8.1.3__py3-none-any.whl → 8.1.5__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.
- example/workers/worker.py +3 -3
- ul_api_utils/api_resource/api_resource_fn_typing.py +15 -14
- ul_api_utils/api_resource/api_response.py +15 -4
- ul_api_utils/api_resource/api_response_payload_alias.py +3 -4
- ul_api_utils/modules/worker_sdk.py +3 -3
- ul_api_utils/resources/health_check/health_check.py +2 -2
- ul_api_utils/utils/broker_topics_message_count.py +2 -2
- ul_api_utils/validators/custom_fields.py +26 -15
- {ul_api_utils-8.1.3.dist-info → ul_api_utils-8.1.5.dist-info}/METADATA +2 -2
- {ul_api_utils-8.1.3.dist-info → ul_api_utils-8.1.5.dist-info}/RECORD +14 -14
- {ul_api_utils-8.1.3.dist-info → ul_api_utils-8.1.5.dist-info}/LICENSE +0 -0
- {ul_api_utils-8.1.3.dist-info → ul_api_utils-8.1.5.dist-info}/WHEEL +0 -0
- {ul_api_utils-8.1.3.dist-info → ul_api_utils-8.1.5.dist-info}/entry_points.txt +0 -0
- {ul_api_utils-8.1.3.dist-info → ul_api_utils-8.1.5.dist-info}/top_level.txt +0 -0
example/workers/worker.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from
|
|
2
|
-
from
|
|
3
|
-
from
|
|
1
|
+
from ul_unipipeline.message.uni_message import UniMessage
|
|
2
|
+
from ul_unipipeline.worker.uni_worker import UniWorker
|
|
3
|
+
from ul_unipipeline.worker.uni_worker_consumer_message import UniWorkerConsumerMessage
|
|
4
4
|
|
|
5
5
|
from ul_api_utils.modules.worker_context import WorkerContext
|
|
6
6
|
from ul_api_utils.modules.worker_sdk import WorkerSdk
|
|
@@ -3,13 +3,14 @@ from typing import NamedTuple, Any, Callable, Optional, List, Dict, Type, Tuple,
|
|
|
3
3
|
|
|
4
4
|
from flask import request
|
|
5
5
|
from pydantic import BaseModel, ValidationError, validate_call, TypeAdapter
|
|
6
|
-
from pydantic.utils import deep_update
|
|
6
|
+
from pydantic.v1.utils import deep_update
|
|
7
7
|
from pydantic_core import ErrorDetails
|
|
8
8
|
|
|
9
9
|
from ul_api_utils.api_resource.api_request import ApiRequestQuery
|
|
10
10
|
from ul_api_utils.api_resource.api_resource_type import ApiResourceType
|
|
11
|
-
from ul_api_utils.api_resource.api_response import HtmlApiResponse, JsonApiResponse, FileApiResponse,
|
|
12
|
-
|
|
11
|
+
from ul_api_utils.api_resource.api_response import HtmlApiResponse, JsonApiResponse, FileApiResponse, \
|
|
12
|
+
RedirectApiResponse, ApiResponse, \
|
|
13
|
+
JsonApiResponsePayload, RootJsonApiResponsePayload, ProxyJsonApiResponse, AnyJsonApiResponse, \
|
|
13
14
|
EmptyJsonApiResponse, TPayloadTotalUnion, RootJsonApiResponse
|
|
14
15
|
from ul_api_utils.api_resource.signature_check import get_typing, set_model_dictable, set_model
|
|
15
16
|
from ul_api_utils.errors import ValidationListApiError, ResourceRuntimeApiError, InvalidContentTypeError
|
|
@@ -56,7 +57,7 @@ class ApiResourceFnTyping(NamedTuple):
|
|
|
56
57
|
query_typing: Optional[Type[ApiRequestQuery]] # none if it is not specified
|
|
57
58
|
has_query_validation_error: bool
|
|
58
59
|
return_typing: Optional[Type[ApiResponse]] # NOT NONE for api
|
|
59
|
-
return_payload_typing: Optional[Type[JsonApiResponsePayload]] # NOT NONE for api
|
|
60
|
+
return_payload_typing: Optional[Type[JsonApiResponsePayload] | Type[RootJsonApiResponsePayload[Any]]] # NOT NONE for api
|
|
60
61
|
|
|
61
62
|
def get_return_schema(self) -> Type[BaseModel]:
|
|
62
63
|
inner_type = self.return_payload_typing
|
|
@@ -91,7 +92,7 @@ class ApiResourceFnTyping(NamedTuple):
|
|
|
91
92
|
def runtime_validate_api_proxy_payload(self, response: Dict[str, Any], *, quick: bool) -> None:
|
|
92
93
|
assert isinstance(response, dict)
|
|
93
94
|
|
|
94
|
-
def runtime_validate_api_response_payload(self, payload: Any, total_count: Optional[int], *, quick: bool) -> TPayloadTotalUnion:
|
|
95
|
+
def runtime_validate_api_response_payload(self, payload: Any, total_count: Optional[int], *, quick: bool) -> TPayloadTotalUnion: # type: ignore
|
|
95
96
|
quick = quick or self.return_payload_typing is None
|
|
96
97
|
|
|
97
98
|
if self.return_typing == AnyJsonApiResponse:
|
|
@@ -106,7 +107,7 @@ class ApiResourceFnTyping(NamedTuple):
|
|
|
106
107
|
if r is None:
|
|
107
108
|
raise ResourceRuntimeApiError(f'invalid type of object. {type(o).__name__} was given')
|
|
108
109
|
new_payload.append(r)
|
|
109
|
-
return new_payload, total_count
|
|
110
|
+
return new_payload, total_count
|
|
110
111
|
|
|
111
112
|
if payload is None: # only for case when payload must be single object
|
|
112
113
|
return None, None
|
|
@@ -114,7 +115,7 @@ class ApiResourceFnTyping(NamedTuple):
|
|
|
114
115
|
new_payload = to_dict(payload) if quick else set_model_dictable(self.return_payload_typing, payload) # type: ignore
|
|
115
116
|
if new_payload is None:
|
|
116
117
|
raise ResourceRuntimeApiError(f'invalid type of object. {type(payload).__name__} was given')
|
|
117
|
-
return new_payload, None
|
|
118
|
+
return new_payload, None
|
|
118
119
|
|
|
119
120
|
def _get_body(self) -> Optional[Any]:
|
|
120
121
|
if self.api_resource_type == ApiResourceType.WEB:
|
|
@@ -230,7 +231,7 @@ class ApiResourceFnTyping(NamedTuple):
|
|
|
230
231
|
cls,
|
|
231
232
|
api_resource_type: 'ApiResourceType',
|
|
232
233
|
fn: Callable[['ApiResource'], ApiResponse],
|
|
233
|
-
) -> Tuple[bool, Optional[Type[JsonApiResponsePayload]], Optional[Type[ApiResponse]]]:
|
|
234
|
+
) -> Tuple[bool, Optional[Type[JsonApiResponsePayload] | Type[RootJsonApiResponsePayload[Any]]], Optional[Type[ApiResponse]]]:
|
|
234
235
|
response_many = False
|
|
235
236
|
return_typing = fn.__annotations__.get('return', None)
|
|
236
237
|
ret = get_typing(return_typing)
|
|
@@ -259,21 +260,21 @@ class ApiResourceFnTyping(NamedTuple):
|
|
|
259
260
|
assert return_payload_typing is None, f'{fn.__name__} :: invalid response payload typing. payload must be None. {return_payload_typing.__name__} was given'
|
|
260
261
|
|
|
261
262
|
elif return_typing is RootJsonApiResponse:
|
|
262
|
-
assert return_payload_typing is not None and issubclass(return_payload_typing, JsonApiResponsePayload), \
|
|
263
|
-
f'{fn.__name__} :: invalid response payload typing. payload must be subclass of JsonApiResponsePayload. ' \
|
|
263
|
+
assert return_payload_typing is not None and issubclass(return_payload_typing, (JsonApiResponsePayload, RootJsonApiResponsePayload)), \
|
|
264
|
+
f'{fn.__name__} :: invalid response payload typing. payload must be subclass of (JsonApiResponsePayload, RootJsonApiResponsePayload). ' \
|
|
264
265
|
f'{return_payload_typing.__name__ if return_payload_typing is not None else "None"} was given'
|
|
265
266
|
|
|
266
267
|
elif return_typing is AnyJsonApiResponse:
|
|
267
268
|
assert return_payload_typing is None, f'{fn.__name__} :: invalid response payload typing. payload must be None. {return_payload_typing.__name__} was given'
|
|
268
269
|
|
|
269
270
|
elif issubclass(return_typing, JsonApiResponse):
|
|
270
|
-
assert return_payload_typing is not None and issubclass(return_payload_typing, JsonApiResponsePayload), \
|
|
271
|
-
f'{fn.__name__} :: invalid response payload typing. payload must be subclass of JsonApiResponsePayload. ' \
|
|
271
|
+
assert return_payload_typing is not None and issubclass(return_payload_typing, (JsonApiResponsePayload, RootJsonApiResponsePayload)), \
|
|
272
|
+
f'{fn.__name__} :: invalid response payload typing. payload must be subclass of (JsonApiResponsePayload, RootJsonApiResponsePayload). ' \
|
|
272
273
|
f'{return_payload_typing.__name__ if return_payload_typing is not None else "None"} was given'
|
|
273
274
|
|
|
274
275
|
elif issubclass(return_typing, ProxyJsonApiResponse):
|
|
275
|
-
assert return_payload_typing is not None and issubclass(return_payload_typing, JsonApiResponsePayload), \
|
|
276
|
-
f'{fn.__name__} :: invalid response payload typing. payload must be subclass of JsonApiResponsePayload. ' \
|
|
276
|
+
assert return_payload_typing is not None and issubclass(return_payload_typing, (JsonApiResponsePayload, RootJsonApiResponsePayload)), \
|
|
277
|
+
f'{fn.__name__} :: invalid response payload typing. payload must be subclass of (JsonApiResponsePayload, RootJsonApiResponsePayload). ' \
|
|
277
278
|
f'{return_payload_typing.__name__ if return_payload_typing is not None else "None"} was given'
|
|
278
279
|
|
|
279
280
|
else:
|
|
@@ -2,14 +2,16 @@ import io
|
|
|
2
2
|
from datetime import datetime
|
|
3
3
|
from types import NoneType
|
|
4
4
|
from typing import TypeVar, Generic, List, Optional, Dict, Any, Callable, Union, BinaryIO, Tuple, Type
|
|
5
|
+
|
|
5
6
|
import msgpack
|
|
6
7
|
from flask import jsonify, send_file, redirect, Response, request
|
|
7
|
-
from pydantic import ConfigDict, RootModel
|
|
8
8
|
from pydantic import BaseModel
|
|
9
|
+
from pydantic import ConfigDict, RootModel
|
|
9
10
|
from werkzeug import Response as BaseResponse
|
|
10
11
|
|
|
11
12
|
from ul_api_utils.api_resource.db_types import TPayloadInputUnion
|
|
12
|
-
from ul_api_utils.const import RESPONSE_PROP_OK, RESPONSE_PROP_PAYLOAD, RESPONSE_PROP_COUNT, RESPONSE_PROP_TOTAL,
|
|
13
|
+
from ul_api_utils.const import RESPONSE_PROP_OK, RESPONSE_PROP_PAYLOAD, RESPONSE_PROP_COUNT, RESPONSE_PROP_TOTAL, \
|
|
14
|
+
RESPONSE_PROP_ERRORS, MIME__JSON, MIME__MSGPCK, \
|
|
13
15
|
REQUEST_HEADER__ACCEPT
|
|
14
16
|
from ul_api_utils.debug.debugger import Debugger
|
|
15
17
|
from ul_api_utils.utils.json_encoder import CustomJSONEncoder
|
|
@@ -139,21 +141,30 @@ class EmptyJsonApiResponse(ApiResponse):
|
|
|
139
141
|
return resp
|
|
140
142
|
|
|
141
143
|
|
|
144
|
+
T = TypeVar("T")
|
|
145
|
+
|
|
142
146
|
class JsonApiResponsePayload(BaseModel):
|
|
143
147
|
model_config = ConfigDict(extra="ignore")
|
|
144
148
|
|
|
145
149
|
|
|
146
|
-
|
|
150
|
+
class RootJsonApiResponsePayload(RootModel[T]):
|
|
151
|
+
pass
|
|
152
|
+
|
|
153
|
+
TRootJsonApiResponsePayload = TypeVar('TRootJsonApiResponsePayload')
|
|
154
|
+
|
|
155
|
+
TResultPayloadUnion = Union[None, Dict[str, Any], JsonApiResponsePayload, TRootJsonApiResponsePayload, List[JsonApiResponsePayload], List[TRootJsonApiResponsePayload], List[Dict[str, Any]]]
|
|
147
156
|
TPayloadTotalUnion = Union[
|
|
148
157
|
Tuple[None, None],
|
|
149
158
|
Tuple[Dict[str, Any], None],
|
|
150
159
|
Tuple[JsonApiResponsePayload, None],
|
|
160
|
+
Tuple[TRootJsonApiResponsePayload, None],
|
|
151
161
|
Tuple[List[JsonApiResponsePayload], int],
|
|
162
|
+
Tuple[List[TRootJsonApiResponsePayload], int],
|
|
152
163
|
Tuple[List[Dict[str, Any]], int],
|
|
153
164
|
]
|
|
154
165
|
|
|
155
166
|
|
|
156
|
-
class DictJsonApiResponsePayload(
|
|
167
|
+
class DictJsonApiResponsePayload(RootJsonApiResponsePayload[Dict[str, Any]]):
|
|
157
168
|
pass
|
|
158
169
|
|
|
159
170
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
|
-
from types import NoneType
|
|
3
2
|
|
|
4
|
-
from pydantic import UUID4
|
|
3
|
+
from pydantic import UUID4
|
|
5
4
|
|
|
6
|
-
from ul_api_utils.api_resource.api_response import JsonApiResponsePayload
|
|
5
|
+
from ul_api_utils.api_resource.api_response import JsonApiResponsePayload, RootJsonApiResponsePayload
|
|
7
6
|
|
|
8
7
|
|
|
9
8
|
class ApiBaseModelPayloadResponse(JsonApiResponsePayload):
|
|
@@ -22,5 +21,5 @@ class ApiBaseUserModelPayloadResponse(JsonApiResponsePayload):
|
|
|
22
21
|
is_alive: bool
|
|
23
22
|
|
|
24
23
|
|
|
25
|
-
class ApiEmptyResponse(
|
|
24
|
+
class ApiEmptyResponse(RootJsonApiResponsePayload[None]):
|
|
26
25
|
pass
|
|
@@ -4,9 +4,9 @@ from datetime import datetime
|
|
|
4
4
|
from typing import TypeVar, Callable, Any, Union, Dict, Optional, Tuple, TYPE_CHECKING
|
|
5
5
|
|
|
6
6
|
from flask import Flask
|
|
7
|
-
from
|
|
8
|
-
from
|
|
9
|
-
from
|
|
7
|
+
from ul_unipipeline.message.uni_message import UniMessage
|
|
8
|
+
from ul_unipipeline.worker.uni_worker import UniWorker
|
|
9
|
+
from ul_unipipeline.worker.uni_worker_consumer_message import UniWorkerConsumerMessage
|
|
10
10
|
|
|
11
11
|
from ul_api_utils.conf import APPLICATION_START_DT
|
|
12
12
|
from ul_api_utils.modules.intermediate_state import try_init, try_configure
|
|
@@ -4,8 +4,8 @@ from typing import List, Callable, Any, Optional, Dict, TYPE_CHECKING, Tuple, Na
|
|
|
4
4
|
|
|
5
5
|
from pydantic import model_validator, ConfigDict, Field, BaseModel, PositiveInt, TypeAdapter
|
|
6
6
|
from sqlalchemy.sql import text
|
|
7
|
-
from
|
|
8
|
-
from
|
|
7
|
+
from ul_unipipeline.errors import UniError
|
|
8
|
+
from ul_unipipeline.modules.uni import Uni
|
|
9
9
|
|
|
10
10
|
from ul_api_utils.api_resource.api_response import JsonApiResponsePayload
|
|
11
11
|
from ul_api_utils.errors import Client4XXInternalApiError, Server5XXInternalApiError
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import csv
|
|
2
|
-
from typing import TypeVar, Generic, List, Union, Generator, Callable, Annotated, Any
|
|
2
|
+
from typing import TypeVar, Generic, List, Union, Generator, Callable, Annotated, Any, get_args
|
|
3
|
+
from uuid import UUID
|
|
3
4
|
|
|
4
|
-
from pydantic import ValidationError, Field, StringConstraints
|
|
5
|
-
from
|
|
5
|
+
from pydantic import ValidationError, Field, StringConstraints, TypeAdapter
|
|
6
|
+
from pydantic_core.core_schema import ValidationInfo
|
|
6
7
|
|
|
7
8
|
from ul_api_utils.const import CRON_EXPRESSION_VALIDATION_REGEX, MIN_UTC_OFFSET_SECONDS, MAX_UTC_OFFSET_SECONDS
|
|
8
9
|
|
|
9
10
|
NotEmptyListAnnotation = Annotated[list[Any], Field(min_length=1)]
|
|
11
|
+
NotEmptyListStrAnnotation = Annotated[list[str], Field(min_length=1)]
|
|
12
|
+
NotEmptyListIntAnnotation = Annotated[list[int], Field(min_length=1)]
|
|
13
|
+
NotEmptyListUUIDAnnotation = Annotated[list[UUID], Field(min_length=1)]
|
|
10
14
|
CronScheduleAnnotation = Annotated[str, StringConstraints(pattern=CRON_EXPRESSION_VALIDATION_REGEX)]
|
|
11
15
|
WhiteSpaceStrippedStrAnnotation = Annotated[str, StringConstraints(strip_whitespace=True)]
|
|
12
16
|
UTCOffsetSecondsAnnotation = Annotated[int, Field(ge=MIN_UTC_OFFSET_SECONDS, le=MAX_UTC_OFFSET_SECONDS)]
|
|
@@ -42,24 +46,31 @@ class QueryParamsSeparatedList(Generic[QueryParamsSeparatedListValueType]):
|
|
|
42
46
|
return f'QueryParamsSeparatedList({super().__repr__()})'
|
|
43
47
|
|
|
44
48
|
@classmethod
|
|
45
|
-
def __get_validators__(cls) -> Generator[Callable[[Union[List[str], str],
|
|
49
|
+
def __get_validators__(cls) -> Generator[Callable[[Union[List[str], str], ValidationInfo], List[QueryParamsSeparatedListValueType]], None, None]:
|
|
46
50
|
yield cls.validate
|
|
47
51
|
|
|
48
52
|
@classmethod
|
|
49
|
-
def validate(cls, query_param: Union[List[str], str],
|
|
50
|
-
|
|
53
|
+
def validate(cls, query_param: Union[List[str], str], info: ValidationInfo) -> List[QueryParamsSeparatedListValueType]:
|
|
54
|
+
"""
|
|
55
|
+
Validate and convert the query parameter string into a list of the specified type.
|
|
56
|
+
"""
|
|
57
|
+
if not isinstance(query_param, list):
|
|
51
58
|
query_param = [query_param]
|
|
59
|
+
|
|
52
60
|
reader = csv.reader(query_param, skipinitialspace=True)
|
|
53
61
|
splitted = next(reader)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
62
|
+
|
|
63
|
+
adapter = TypeAdapter(get_args(cls)[0])
|
|
64
|
+
|
|
65
|
+
validated_items = []
|
|
57
66
|
errors = []
|
|
67
|
+
|
|
58
68
|
for value in splitted:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
69
|
+
try:
|
|
70
|
+
validated_items.append(adapter.validate_python(value))
|
|
71
|
+
except ValidationError as e:
|
|
72
|
+
errors.append(e)
|
|
62
73
|
if errors:
|
|
63
|
-
raise ValidationError(errors
|
|
64
|
-
|
|
65
|
-
return
|
|
74
|
+
raise ValidationError(errors)
|
|
75
|
+
|
|
76
|
+
return validated_items
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ul-api-utils
|
|
3
|
-
Version: 8.1.
|
|
3
|
+
Version: 8.1.5
|
|
4
4
|
Summary: Python api utils
|
|
5
5
|
Author: Unic-lab
|
|
6
6
|
Author-email:
|
|
@@ -16,7 +16,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
16
16
|
Classifier: Operating System :: OS Independent
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
|
-
Requires-Dist: ul-unipipeline (
|
|
19
|
+
Requires-Dist: ul-unipipeline (==2.0.5)
|
|
20
20
|
Requires-Dist: jinja2 (==3.1.2)
|
|
21
21
|
Requires-Dist: flask (==2.1.3)
|
|
22
22
|
Requires-Dist: flask-wtf (==1.0.1)
|
|
@@ -15,7 +15,7 @@ example/sockets/on_json.py,sha256=sTh0Pqu5iITmnRRjc6-rns1VFlEN_xo33_4lUF5VzNk,20
|
|
|
15
15
|
example/sockets/on_message.py,sha256=6jmiW4qy9Zs6T9CRTCZrBGCBTuK1xUtsYWJ9zozl8XI,234
|
|
16
16
|
example/sockets/on_open.py,sha256=1xfgVqoTuOPxHyBC_rFuj60096gjgbg6rNfCvUqUN8A,405
|
|
17
17
|
example/workers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
|
-
example/workers/worker.py,sha256=
|
|
18
|
+
example/workers/worker.py,sha256=Y3z485VPQ7Ot_yFsK6cD4muB_HBzGUO3tf2id-dDRdA,978
|
|
19
19
|
ul_api_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
20
|
ul_api_utils/conf.py,sha256=zLWsA0TTmekzxYrs5PbeqEkeylaNC_gIui3CGM9aZew,3487
|
|
21
21
|
ul_api_utils/const.py,sha256=pzY-zRznCJjZ0mFlte6XEsQQCU7EydN2WweEsVHSE7k,2563
|
|
@@ -29,11 +29,11 @@ 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=8aCYTHClOiP6Y3s1gS7j3_yRNNmiM3YdqqiPQN-tWbU,18624
|
|
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=Sa-zdAPefUNyJP4b_vBiKfbj87izK8RuBzW0SWfsFws,10026
|
|
35
35
|
ul_api_utils/api_resource/api_response_db.py,sha256=ucY6ANPlHZml7JAbvq-PL85z0bvERTjEJKvz-REPyok,888
|
|
36
|
-
ul_api_utils/api_resource/api_response_payload_alias.py,sha256=
|
|
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=LFw7mnzY4e6WuEYkUzPSgs6b-aw2vnRSqYsJMEMWUhA,436
|
|
38
38
|
ul_api_utils/api_resource/signature_check.py,sha256=jahhr7ttYEUKen_Wp2Eh1__oxqu7ZDoYgw0diK9CFzc,1266
|
|
39
39
|
ul_api_utils/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -70,7 +70,7 @@ ul_api_utils/modules/api_sdk_config.py,sha256=ZUR48tIJeFlPJTSjyXzKfXaCKPtfqeaA0m
|
|
|
70
70
|
ul_api_utils/modules/api_sdk_jwt.py,sha256=2XRfb0LxHUnldSL67S60v1uyoDpVPNaq4zofUtkeg88,15112
|
|
71
71
|
ul_api_utils/modules/intermediate_state.py,sha256=7ZZ3Sypbb8LaSfrVhaXaWRDnj8oyy26NUbmFK7vr-y4,1270
|
|
72
72
|
ul_api_utils/modules/worker_context.py,sha256=jGjopeuYuTtIDmsrqK7TcbTD-E81t8OWvWS1JpTC6b0,802
|
|
73
|
-
ul_api_utils/modules/worker_sdk.py,sha256=
|
|
73
|
+
ul_api_utils/modules/worker_sdk.py,sha256=WNJ45LyxeTOJcogcL-t_P7rBVZprJKOmiVEAo-1fU3s,5153
|
|
74
74
|
ul_api_utils/modules/worker_sdk_config.py,sha256=7y-J1yHtoHQuRZyye--pY85yaJXKL6Vh9hODQHMESyU,308
|
|
75
75
|
ul_api_utils/modules/__tests__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
76
76
|
ul_api_utils/modules/__tests__/test_api_sdk_jwt.py,sha256=9JJTtva2z4pjvTWQqo_0EOvzf4wBgvq0G77jM0SC3Bg,10719
|
|
@@ -84,7 +84,7 @@ ul_api_utils/resources/socketio.py,sha256=oeQdULtBnslyMJkeqfZMWxtK6efLFX1LrfA2cB
|
|
|
84
84
|
ul_api_utils/resources/swagger.py,sha256=fK8S9X4YCSqe_weCzV_BcMPoL_NR073BsGUzn2ImbHI,5391
|
|
85
85
|
ul_api_utils/resources/health_check/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
86
86
|
ul_api_utils/resources/health_check/const.py,sha256=QzVZP_ZKmVKleUACiOGjzP-v54FD7tEN6NEF4Jb50Ow,78
|
|
87
|
-
ul_api_utils/resources/health_check/health_check.py,sha256=
|
|
87
|
+
ul_api_utils/resources/health_check/health_check.py,sha256=PDE5h6aznw56h0gY50Q7hFhCPsiWnq4Ro1A1G6XUQD4,18484
|
|
88
88
|
ul_api_utils/resources/health_check/health_check_template.py,sha256=Qih-sVoFVoVxfmDYBTzwlNSicCr7zNelUJLJMnM-C_Q,2572
|
|
89
89
|
ul_api_utils/resources/health_check/resource.py,sha256=SPd9kMzBOVhFZgMVfV26bDpZya3BmwxTfOR4MZ2dL4o,4199
|
|
90
90
|
ul_api_utils/resources/web_forms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -102,7 +102,7 @@ ul_api_utils/utils/api_pagination.py,sha256=dXCrDcZ3dNu3gKP2XExp7EUoOKaOgzO-6JOd
|
|
|
102
102
|
ul_api_utils/utils/api_path_version.py,sha256=gOwe0bcKs9ovwgh0XsSzih5rq5coL9rNZy8iyeB-xJc,1965
|
|
103
103
|
ul_api_utils/utils/api_request_info.py,sha256=vxfqs_6-HSd-0o_k8e9KFKWhLNXL0KUHvGB0_9g9bgE,100
|
|
104
104
|
ul_api_utils/utils/avro.py,sha256=-o1NEgn_hcae1C03Lq3q79bjeQn0OPf_HjI33D10DqI,5021
|
|
105
|
-
ul_api_utils/utils/broker_topics_message_count.py,sha256=
|
|
105
|
+
ul_api_utils/utils/broker_topics_message_count.py,sha256=CzTL8hZ4hS1TW-aboWLISd8HRCFO4-ha25XtHVXHYxA,1562
|
|
106
106
|
ul_api_utils/utils/cached_per_request.py,sha256=tOcTs0MJUm597fyKFGcJLaUZGtPKcf8s6XE_t9fSQqs,670
|
|
107
107
|
ul_api_utils/utils/colors.py,sha256=NbNlA5jBYvET9OMJgW0HdssrZN9l3sCA1pr-etBVzEU,732
|
|
108
108
|
ul_api_utils/utils/constants.py,sha256=Qx57-WOPlCnQn9KxinVLp2zGjyeyVYuHrAu99Ramn8o,219
|
|
@@ -143,14 +143,14 @@ ul_api_utils/utils/memory_db/errors.py,sha256=Bw1O1Y_WTCeCRNgb9iwrGT1fst6iHORhrN
|
|
|
143
143
|
ul_api_utils/utils/memory_db/repository.py,sha256=xOnxEJyApGTglqjQ5fPKcEV5rHEkvKwcgrUfW4zJbHg,3754
|
|
144
144
|
ul_api_utils/utils/memory_db/__tests__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
145
145
|
ul_api_utils/validators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
146
|
-
ul_api_utils/validators/custom_fields.py,sha256
|
|
146
|
+
ul_api_utils/validators/custom_fields.py,sha256=xsngUv3mjYVc-l54b6gkAfGR0ceI8A1wIvTf1qvELso,3325
|
|
147
147
|
ul_api_utils/validators/validate_empty_object.py,sha256=3Ck_iwyJE_M5e7l6s1i88aqb73zIt06uaLrMG2PAb0A,299
|
|
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=QLZ7DFta01Z7DOK9Z5Iq4uf_CmvDkVReis-GAl_QN48,1447
|
|
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.5.dist-info/LICENSE,sha256=6Qo8OdcqI8aGrswJKJYhST-bYqxVQBQ3ujKdTSdq-80,1062
|
|
152
|
+
ul_api_utils-8.1.5.dist-info/METADATA,sha256=HqFuFVwz58U4zQw58TxNw0ILOVR26OW0dkYJPBErYmk,14747
|
|
153
|
+
ul_api_utils-8.1.5.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
154
|
+
ul_api_utils-8.1.5.dist-info/entry_points.txt,sha256=8tL3ySHWTyJMuV1hx1fHfN8zumDVOCOm63w3StphkXg,53
|
|
155
|
+
ul_api_utils-8.1.5.dist-info/top_level.txt,sha256=1XsW8iOSFaH4LOzDcnNyxHpHrbKU3fSn-aIAxe04jmw,21
|
|
156
|
+
ul_api_utils-8.1.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|