ul-api-utils 8.0.5__py3-none-any.whl → 8.1.1__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.

@@ -160,7 +160,7 @@ class DictJsonApiResponsePayload(RootModel[Dict[str, Any]]):
160
160
  TProxyPayload = TypeVar('TProxyPayload', bound=Union[JsonApiResponsePayload, List[JsonApiResponsePayload], None])
161
161
 
162
162
 
163
- class ProxyJsonApiResponse(Generic[TProxyPayload], EmptyJsonApiResponse):
163
+ class ProxyJsonApiResponse(EmptyJsonApiResponse, Generic[TProxyPayload]):
164
164
  response: Dict[str, Any]
165
165
 
166
166
  @classmethod
@@ -183,7 +183,7 @@ class ProxyJsonApiResponse(Generic[TProxyPayload], EmptyJsonApiResponse):
183
183
  TJsonObjApiResponsePayload = TypeVar('TJsonObjApiResponsePayload')
184
184
 
185
185
 
186
- class RootJsonApiResponse(Generic[TJsonObjApiResponsePayload], EmptyJsonApiResponse):
186
+ class RootJsonApiResponse(EmptyJsonApiResponse, Generic[TJsonObjApiResponsePayload]):
187
187
  root: TJsonObjApiResponsePayload
188
188
 
189
189
  @classmethod
@@ -261,7 +261,7 @@ class AnyJsonApiResponse(ApiResponse):
261
261
  return JsonApiResponse(ok=False, total_count=0, payload=[], status_code=status_code, errors=errors)
262
262
 
263
263
 
264
- class JsonApiResponse(Generic[TJsonObjApiResponsePayload], AnyJsonApiResponse):
264
+ class JsonApiResponse(AnyJsonApiResponse, Generic[TJsonObjApiResponsePayload]):
265
265
 
266
266
  @classmethod
267
267
  def _internal_use__mk_schema(cls, inner_type: Optional[Type[BaseModel]]) -> Type[BaseModel]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ul-api-utils
3
- Version: 8.0.5
3
+ Version: 8.1.1
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: unipipeline (==1.9.4)
19
+ Requires-Dist: unipipeline (>=2.0.0)
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)
@@ -31,7 +31,7 @@ ul_api_utils/api_resource/api_resource_config.py,sha256=l9OYJy75UZLshOkEQDO5jlhX
31
31
  ul_api_utils/api_resource/api_resource_error_handling.py,sha256=E0SWpjFSIP-4SumbgzrHtFuFiGe9q38WsvLROt0YcPE,1168
32
32
  ul_api_utils/api_resource/api_resource_fn_typing.py,sha256=mKaeGzkOJ-FyDM6B55isUnr8sFsgSHeILQkxJd_tpI8,18343
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=l3sQ34DkybP8nQWW8DSQulihfrB0Ai0RBaCrVZAHeSk,9695
34
+ ul_api_utils/api_resource/api_response.py,sha256=36tXRFoeYcVm0v85lXz4d_q4qoVUoQp1WbBVHE_tYkw,9695
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=o_IUtYxDEpIa8krwmx5RLdOXR_fShz613I7tOM4WnL0,600
37
37
  ul_api_utils/api_resource/db_types.py,sha256=LFw7mnzY4e6WuEYkUzPSgs6b-aw2vnRSqYsJMEMWUhA,436
@@ -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=QLZ7DFta01Z7DOK9Z5Iq4uf_CmvDkVReis-GAl_QN48,1447
151
- ul_api_utils-8.0.5.dist-info/LICENSE,sha256=6Qo8OdcqI8aGrswJKJYhST-bYqxVQBQ3ujKdTSdq-80,1062
152
- ul_api_utils-8.0.5.dist-info/METADATA,sha256=R-ZkDWnB-dKDwKuHg-OhdgRIYdMFagjZfscUuPD7Sbw,14744
153
- ul_api_utils-8.0.5.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
154
- ul_api_utils-8.0.5.dist-info/entry_points.txt,sha256=8tL3ySHWTyJMuV1hx1fHfN8zumDVOCOm63w3StphkXg,53
155
- ul_api_utils-8.0.5.dist-info/top_level.txt,sha256=1XsW8iOSFaH4LOzDcnNyxHpHrbKU3fSn-aIAxe04jmw,21
156
- ul_api_utils-8.0.5.dist-info/RECORD,,
151
+ ul_api_utils-8.1.1.dist-info/LICENSE,sha256=6Qo8OdcqI8aGrswJKJYhST-bYqxVQBQ3ujKdTSdq-80,1062
152
+ ul_api_utils-8.1.1.dist-info/METADATA,sha256=zRgMC_BvD7iWU9Wy8G2uRP4sbwuqfuU5XzcVuAa9m88,14744
153
+ ul_api_utils-8.1.1.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
154
+ ul_api_utils-8.1.1.dist-info/entry_points.txt,sha256=8tL3ySHWTyJMuV1hx1fHfN8zumDVOCOm63w3StphkXg,53
155
+ ul_api_utils-8.1.1.dist-info/top_level.txt,sha256=1XsW8iOSFaH4LOzDcnNyxHpHrbKU3fSn-aIAxe04jmw,21
156
+ ul_api_utils-8.1.1.dist-info/RECORD,,