ga-api-client 0.6.3__tar.gz → 0.6.4__tar.gz
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.
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/PKG-INFO +1 -1
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/ga_api/ga_api_client.py +2 -2
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/ga_api_client.egg-info/PKG-INFO +1 -1
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/setup.cfg +1 -1
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/LICENSE +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/README.md +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/ga_api/__init__.py +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/ga_api/average.py +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/ga_api/capture.py +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/ga_api/field_tree.py +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/ga_api/hyper_log_log.py +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/ga_api/rate.py +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/ga_api/std.py +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/ga_api/tdigest.py +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/ga_api_client.egg-info/SOURCES.txt +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/ga_api_client.egg-info/dependency_links.txt +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/ga_api_client.egg-info/requires.txt +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/ga_api_client.egg-info/top_level.txt +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/pyproject.toml +0 -0
- {ga_api_client-0.6.3 → ga_api_client-0.6.4}/setup.py +0 -0
|
@@ -214,15 +214,15 @@ class Client:
|
|
|
214
214
|
async with self._session.request(method, self.url+path, json=data, headers=self._headers, ssl=self.ssl, timeout=self.timeout) as resp:
|
|
215
215
|
if resp.status in code: # expected status code
|
|
216
216
|
rlt = None
|
|
217
|
+
ts_head = datetime.datetime.now()
|
|
217
218
|
if resp.content_type == APPLICATION_JSON:
|
|
218
|
-
ts_head = datetime.datetime.now()
|
|
219
219
|
data = await resp.json()
|
|
220
|
-
ts_done = datetime.datetime.now()
|
|
221
220
|
if 'rlt' in data:
|
|
222
221
|
rlt = data['rlt']
|
|
223
222
|
logging.debug(f'transfer req={ts_send.strftime("%Y/%m/%d %H:%M:%S")} head={ts_head.strftime("%Y/%m/%d %H:%M:%S")} data={ts_done.strftime("%Y/%m/%d %H:%M:%S")}')
|
|
224
223
|
if 'status' in data:
|
|
225
224
|
meta = data['status']
|
|
225
|
+
ts_done = datetime.datetime.now()
|
|
226
226
|
wrk_total = 0
|
|
227
227
|
if "wrk_wait" in meta:
|
|
228
228
|
wrk_total += meta["wrk_wait"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|