upgini 1.1.242a3__py3-none-any.whl → 1.1.243__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 upgini might be problematic. Click here for more details.
- upgini/http.py +2 -5
- {upgini-1.1.242a3.dist-info → upgini-1.1.243.dist-info}/METADATA +1 -1
- {upgini-1.1.242a3.dist-info → upgini-1.1.243.dist-info}/RECORD +6 -6
- {upgini-1.1.242a3.dist-info → upgini-1.1.243.dist-info}/LICENSE +0 -0
- {upgini-1.1.242a3.dist-info → upgini-1.1.243.dist-info}/WHEEL +0 -0
- {upgini-1.1.242a3.dist-info → upgini-1.1.243.dist-info}/top_level.txt +0 -0
upgini/http.py
CHANGED
|
@@ -308,7 +308,6 @@ class _RestClient:
|
|
|
308
308
|
# self.silent_mode = silent_mode
|
|
309
309
|
self.client_ip = client_ip
|
|
310
310
|
self.client_visitorid = client_visitorid
|
|
311
|
-
print(f"Created RestClient with {client_ip} and {client_visitorid}")
|
|
312
311
|
self._access_token = self._refresh_access_token()
|
|
313
312
|
# self._access_token: Optional[str] = None # self._refresh_access_token()
|
|
314
313
|
self.last_refresh_time = time.time()
|
|
@@ -442,9 +441,7 @@ class _RestClient:
|
|
|
442
441
|
) -> SearchTaskResponse:
|
|
443
442
|
api_path = self.INITIAL_SEARCH_URI_FMT_V2
|
|
444
443
|
|
|
445
|
-
print(f"Start initial search with {self.client_ip} and {self.client_visitorid}")
|
|
446
444
|
track_metrics = get_track_metrics(self.client_ip, self.client_visitorid)
|
|
447
|
-
print(f"Sending track metrics: {track_metrics}")
|
|
448
445
|
|
|
449
446
|
def open_and_send():
|
|
450
447
|
md5_hash = hashlib.md5()
|
|
@@ -486,7 +483,7 @@ class _RestClient:
|
|
|
486
483
|
api_path, files, trace_id=trace_id, additional_headers=additional_headers
|
|
487
484
|
)
|
|
488
485
|
|
|
489
|
-
response = self._with_unauth_retry(
|
|
486
|
+
response = self._with_unauth_retry(open_and_send)
|
|
490
487
|
return SearchTaskResponse(response)
|
|
491
488
|
|
|
492
489
|
def check_uploaded_file_v2(self, trace_id: str, file_upload_id: str, metadata: FileMetadata) -> bool:
|
|
@@ -571,7 +568,7 @@ class _RestClient:
|
|
|
571
568
|
api_path, files, trace_id=trace_id, additional_headers=additional_headers
|
|
572
569
|
)
|
|
573
570
|
|
|
574
|
-
response = self._with_unauth_retry(
|
|
571
|
+
response = self._with_unauth_retry(open_and_send)
|
|
575
572
|
return SearchTaskResponse(response)
|
|
576
573
|
|
|
577
574
|
def validation_search_without_upload_v2(
|
|
@@ -4,7 +4,7 @@ upgini/dataset.py,sha256=y9rpNhdLU9QgfFZndrPGK-S6CL67q5ocmB9HMzwHtaA,49395
|
|
|
4
4
|
upgini/errors.py,sha256=BqpvfhW2jJW5fa5KXj0alhXatGl-WK4xTl309-QNLp8,959
|
|
5
5
|
upgini/features_enricher.py,sha256=n2L9MWq4WoUQIzoDDECFyiuprwZslFPPhbLfpXsT3sQ,162975
|
|
6
6
|
upgini/fingerprint.js,sha256=VygVIQlN1v4NGZfjHqtRogOw8zjTnnMNJg_f7M5iGQU,33442
|
|
7
|
-
upgini/http.py,sha256=
|
|
7
|
+
upgini/http.py,sha256=jsAYvipo6jeN3qsZeSuFkIe4BigGiOM813G5PXWVvb0,42234
|
|
8
8
|
upgini/metadata.py,sha256=FZ5CQluLLWrfrBVThSIes1SW6wcs7n50aNZwzYnHiF0,9584
|
|
9
9
|
upgini/metrics.py,sha256=rteVPPjDFYlL5bBFVpu-YwwXQGNV1IzwT7V7L9JtjaE,23762
|
|
10
10
|
upgini/search_task.py,sha256=nTVrb3CE4M1zfDkI-W_qVdUhsc90b98w3lo0XxegeKo,17200
|
|
@@ -53,8 +53,8 @@ upgini/utils/sklearn_ext.py,sha256=IMx2La70AXAggApVpT7sMEjWqVWon5AMZt4MARDsIMQ,4
|
|
|
53
53
|
upgini/utils/target_utils.py,sha256=_VjYUm4ECXbgNvxNupr982fuOK_jtkg-8Xw7-zJBz2w,1708
|
|
54
54
|
upgini/utils/track_info.py,sha256=EPcJ13Jqa17_T0JjM37Ac9kWDz5Zk0GVsIZKutOb8aU,5207
|
|
55
55
|
upgini/utils/warning_counter.py,sha256=vnmdFo5-7GBkU2bK9h_uC0K0Y_wtfcYstxOdeRfacO0,228
|
|
56
|
-
upgini-1.1.
|
|
57
|
-
upgini-1.1.
|
|
58
|
-
upgini-1.1.
|
|
59
|
-
upgini-1.1.
|
|
60
|
-
upgini-1.1.
|
|
56
|
+
upgini-1.1.243.dist-info/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
|
|
57
|
+
upgini-1.1.243.dist-info/METADATA,sha256=-4iFDXdoXZA9bcQArbodiC9TcvdKDT9Qc6GFZi7dNYc,48262
|
|
58
|
+
upgini-1.1.243.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
59
|
+
upgini-1.1.243.dist-info/top_level.txt,sha256=OFhTGiDIWKl5gFI49qvWq1R9IKflPaE2PekcbDXDtx4,7
|
|
60
|
+
upgini-1.1.243.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|