clear-skies 1.22.18__py3-none-any.whl → 1.22.19__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 clear-skies might be problematic. Click here for more details.
- {clear_skies-1.22.18.dist-info → clear_skies-1.22.19.dist-info}/METADATA +1 -1
- {clear_skies-1.22.18.dist-info → clear_skies-1.22.19.dist-info}/RECORD +5 -5
- clearskies/input_outputs/input_output.py +11 -4
- {clear_skies-1.22.18.dist-info → clear_skies-1.22.19.dist-info}/LICENSE +0 -0
- {clear_skies-1.22.18.dist-info → clear_skies-1.22.19.dist-info}/WHEEL +0 -0
|
@@ -163,7 +163,7 @@ clearskies/input_outputs/cli.py,sha256=ar2TeW-24BdCRbw9JFilZyJlZ2Qg34uwluutKx1XK
|
|
|
163
163
|
clearskies/input_outputs/exceptions/__init__.py,sha256=bc5Tc1XBZnqA1fKbk7pk5hyx102vqx3sDE19E03xGk4,82
|
|
164
164
|
clearskies/input_outputs/exceptions/cli_input_error.py,sha256=kOFU8aLTLmeTL_AKDshxMu8_ufildg6p8ndhE1xHfb0,41
|
|
165
165
|
clearskies/input_outputs/exceptions/cli_not_found.py,sha256=JBBuZA9ZwdkPhd3a0qaGgEPQrxh1fehy4R3ZaV2gWXU,39
|
|
166
|
-
clearskies/input_outputs/input_output.py,sha256=
|
|
166
|
+
clearskies/input_outputs/input_output.py,sha256=pqf_KRcnbjCJyvQjUEX90FXPh56iEff9kn-K_xNByXI,5081
|
|
167
167
|
clearskies/input_outputs/wsgi.py,sha256=9p82eJP5FUAI6jbIojvydG3_9gncX7vcUACQMyRN9x4,3142
|
|
168
168
|
clearskies/input_requirements/__init__.py,sha256=cciSC614VlYsCeTBX69ZCBU6QByT8NNlzWu_n2SVieY,2106
|
|
169
169
|
clearskies/input_requirements/after.py,sha256=TXy8bIVz_77a8oJuohPwoM5E--AOVWsOSjjh5PpA2Ys,1544
|
|
@@ -207,7 +207,7 @@ clearskies/tests/simple_api/models/__init__.py,sha256=nUA0W6fgXw_Bxa9CudkaDkC80t
|
|
|
207
207
|
clearskies/tests/simple_api/models/status.py,sha256=PEhPbaQh5qdUNHp8O0gz91LOLENAEBtqSaHxUPXchaM,699
|
|
208
208
|
clearskies/tests/simple_api/models/user.py,sha256=5_P4Tp1tTdX7PkMJ__epPM5MA7JAeVYGas69vcWloLc,819
|
|
209
209
|
clearskies/tests/simple_api/users_api.py,sha256=KYXCgEofDxHeRdQK67txN5oYUPvxxmB8JTku7L-apk4,2344
|
|
210
|
-
clear_skies-1.22.
|
|
211
|
-
clear_skies-1.22.
|
|
212
|
-
clear_skies-1.22.
|
|
213
|
-
clear_skies-1.22.
|
|
210
|
+
clear_skies-1.22.19.dist-info/LICENSE,sha256=3Ehd0g3YOpCj8sqj0Xjq5qbOtjjgk9qzhhD9YjRQgOA,1053
|
|
211
|
+
clear_skies-1.22.19.dist-info/METADATA,sha256=X7eq13iRb73f0VbjhGXm3k4q_awYn82aAGIAIjVhB7E,1920
|
|
212
|
+
clear_skies-1.22.19.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
213
|
+
clear_skies-1.22.19.dist-info/RECORD,,
|
|
@@ -140,13 +140,20 @@ class InputOutput(ABC):
|
|
|
140
140
|
def get_request_header(self, header_name, silent=True):
|
|
141
141
|
pass
|
|
142
142
|
|
|
143
|
-
|
|
143
|
+
def _parse_query_parameters(self):
|
|
144
|
+
if self._query_parameters is None:
|
|
145
|
+
self._query_parameters = {
|
|
146
|
+
key: val[0] if len(val) == 1 else val
|
|
147
|
+
for (key, val) in urllib.parse.parse_qs(self.get_query_string()).items()
|
|
148
|
+
}
|
|
149
|
+
|
|
144
150
|
def get_query_parameter(self, key):
|
|
145
|
-
|
|
151
|
+
self._parse_query_parameters()
|
|
152
|
+
return self._query_parameters[key] if key in self._query_parameters else None
|
|
146
153
|
|
|
147
|
-
@abstractmethod
|
|
148
154
|
def get_query_parameters(self):
|
|
149
|
-
|
|
155
|
+
self._parse_query_parameters()
|
|
156
|
+
return self._query_parameters
|
|
150
157
|
|
|
151
158
|
@abstractmethod
|
|
152
159
|
def get_client_ip(self):
|
|
File without changes
|
|
File without changes
|