ul-api-utils 9.0.0a7__py3-none-any.whl → 9.1.0__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/validators/custom_fields.py +6 -0
- {ul_api_utils-9.0.0a7.dist-info → ul_api_utils-9.1.0.dist-info}/METADATA +1 -1
- {ul_api_utils-9.0.0a7.dist-info → ul_api_utils-9.1.0.dist-info}/RECORD +7 -7
- {ul_api_utils-9.0.0a7.dist-info → ul_api_utils-9.1.0.dist-info}/LICENSE +0 -0
- {ul_api_utils-9.0.0a7.dist-info → ul_api_utils-9.1.0.dist-info}/WHEEL +0 -0
- {ul_api_utils-9.0.0a7.dist-info → ul_api_utils-9.1.0.dist-info}/entry_points.txt +0 -0
- {ul_api_utils-9.0.0a7.dist-info → ul_api_utils-9.1.0.dist-info}/top_level.txt +0 -0
|
@@ -49,6 +49,12 @@ def validate_query_params(value: Union[str, List[str]], type_: type) -> List[Que
|
|
|
49
49
|
|
|
50
50
|
|
|
51
51
|
class QueryParamsSeparatedList(Generic[QueryParamsSeparatedListValueType]):
|
|
52
|
+
def __init__(self, value: Union[str, List[str]]):
|
|
53
|
+
self._values: List[QueryParamsSeparatedListValueType] = validate_query_params(value)
|
|
54
|
+
|
|
55
|
+
def to_list(self) -> List[QueryParamsSeparatedListValueType]:
|
|
56
|
+
return list(self._values)
|
|
57
|
+
|
|
52
58
|
@classmethod
|
|
53
59
|
def __get_pydantic_core_schema__(cls, source_type: type, handler: Any) -> Any:
|
|
54
60
|
inner_type = get_args(source_type)[0]
|
|
@@ -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=0AI0-VA4Md54BrAuZLX0Lg7rxyyGv54aWiiNUPycGSA,3760
|
|
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=PXu5NJs2m1sTYDRQCtolqoNpt03EP0Hl0_7OMhWLMMA,3247
|
|
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=omXI_PPefDfCehEVJxEevep8phY6aySjLnpW_usT85U,1385
|
|
151
|
-
ul_api_utils-9.0.
|
|
152
|
-
ul_api_utils-9.0.
|
|
153
|
-
ul_api_utils-9.0.
|
|
154
|
-
ul_api_utils-9.0.
|
|
155
|
-
ul_api_utils-9.0.
|
|
156
|
-
ul_api_utils-9.0.
|
|
151
|
+
ul_api_utils-9.1.0.dist-info/LICENSE,sha256=6Qo8OdcqI8aGrswJKJYhST-bYqxVQBQ3ujKdTSdq-80,1062
|
|
152
|
+
ul_api_utils-9.1.0.dist-info/METADATA,sha256=wLAoIa-4pITal8IMS2BRD2ajOkYb_Yky2PIeXmeopes,14712
|
|
153
|
+
ul_api_utils-9.1.0.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
154
|
+
ul_api_utils-9.1.0.dist-info/entry_points.txt,sha256=8tL3ySHWTyJMuV1hx1fHfN8zumDVOCOm63w3StphkXg,53
|
|
155
|
+
ul_api_utils-9.1.0.dist-info/top_level.txt,sha256=1XsW8iOSFaH4LOzDcnNyxHpHrbKU3fSn-aIAxe04jmw,21
|
|
156
|
+
ul_api_utils-9.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|