ga-api-client 0.3.3__tar.gz → 0.3.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.3.3/ga_api_client.egg-info → ga_api_client-0.3.4}/PKG-INFO +1 -1
- {ga_api_client-0.3.3 → ga_api_client-0.3.4}/ga_api/ga_api_client.py +7 -7
- {ga_api_client-0.3.3 → ga_api_client-0.3.4/ga_api_client.egg-info}/PKG-INFO +1 -1
- {ga_api_client-0.3.3 → ga_api_client-0.3.4}/setup.cfg +1 -1
- {ga_api_client-0.3.3 → ga_api_client-0.3.4}/LICENSE +0 -0
- {ga_api_client-0.3.3 → ga_api_client-0.3.4}/README.md +0 -0
- {ga_api_client-0.3.3 → ga_api_client-0.3.4}/ga_api/__init__.py +0 -0
- {ga_api_client-0.3.3 → ga_api_client-0.3.4}/ga_api/field_tree.py +0 -0
- {ga_api_client-0.3.3 → ga_api_client-0.3.4}/ga_api/hyper_log_log.py +0 -0
- {ga_api_client-0.3.3 → ga_api_client-0.3.4}/ga_api_client.egg-info/SOURCES.txt +0 -0
- {ga_api_client-0.3.3 → ga_api_client-0.3.4}/ga_api_client.egg-info/dependency_links.txt +0 -0
- {ga_api_client-0.3.3 → ga_api_client-0.3.4}/ga_api_client.egg-info/requires.txt +0 -0
- {ga_api_client-0.3.3 → ga_api_client-0.3.4}/ga_api_client.egg-info/top_level.txt +0 -0
- {ga_api_client-0.3.3 → ga_api_client-0.3.4}/pyproject.toml +0 -0
- {ga_api_client-0.3.3 → ga_api_client-0.3.4}/setup.py +0 -0
|
@@ -610,7 +610,7 @@ class Adhoc:
|
|
|
610
610
|
async def _read_point(self, ts, series, columns=None, refresh=True):
|
|
611
611
|
if refresh:
|
|
612
612
|
await self._tenant.create_adhoc(self.pipeline)
|
|
613
|
-
freq_str = f"{self.freq}
|
|
613
|
+
freq_str = f"{self.freq}s"
|
|
614
614
|
delta = pd.Timedelta(freq_str)
|
|
615
615
|
start = pd.Timestamp(ts).floor(freq_str)
|
|
616
616
|
end = start + delta
|
|
@@ -623,7 +623,7 @@ class Adhoc:
|
|
|
623
623
|
await self._tenant.create_adhoc(self.pipeline)
|
|
624
624
|
tasks = []
|
|
625
625
|
tsidx = []
|
|
626
|
-
freq_str = f"{self.freq}
|
|
626
|
+
freq_str = f"{self.freq}s"
|
|
627
627
|
rlts = None
|
|
628
628
|
delta = pd.Timedelta(freq_str)
|
|
629
629
|
for ts in dts:
|
|
@@ -680,7 +680,7 @@ class Pipeline:
|
|
|
680
680
|
self.conf = conf
|
|
681
681
|
|
|
682
682
|
async def _read_point(self, ts, columns=None):
|
|
683
|
-
freq_str = f"{self._dset.conf['freq']}
|
|
683
|
+
freq_str = f"{self._dset.conf['freq']}s"
|
|
684
684
|
start = ts.floor(freq_str)
|
|
685
685
|
table = await self._tenant.query_pipeline_data(self._dset.dsid, self.plid, _get_utc_timestamp(start))
|
|
686
686
|
kcol, mcol = _compute_kcol_mcol(self.conf['pipeline'])
|
|
@@ -689,7 +689,7 @@ class Pipeline:
|
|
|
689
689
|
async def _read_range(self, dts, columns=None):
|
|
690
690
|
tasks = []
|
|
691
691
|
tsidx = []
|
|
692
|
-
freq_str = f"{self._dset.conf['freq']}
|
|
692
|
+
freq_str = f"{self._dset.conf['freq']}s"
|
|
693
693
|
rlts = None
|
|
694
694
|
for ts in dts:
|
|
695
695
|
start = ts.floor(freq_str)
|
|
@@ -767,7 +767,7 @@ class Dataset:
|
|
|
767
767
|
Returns:
|
|
768
768
|
Patch result in frame.
|
|
769
769
|
"""
|
|
770
|
-
freq_str = f"{self.conf['freq']}
|
|
770
|
+
freq_str = f"{self.conf['freq']}s"
|
|
771
771
|
tasks = []
|
|
772
772
|
tsidx = []
|
|
773
773
|
rlts = None
|
|
@@ -795,7 +795,7 @@ class Dataset:
|
|
|
795
795
|
Returns:
|
|
796
796
|
Patch result in frame.
|
|
797
797
|
"""
|
|
798
|
-
freq_str = f"{self.conf['freq']}
|
|
798
|
+
freq_str = f"{self.conf['freq']}s"
|
|
799
799
|
tasks = []
|
|
800
800
|
tsidx = []
|
|
801
801
|
rlts = None
|
|
@@ -824,7 +824,7 @@ class Dataset:
|
|
|
824
824
|
Returns:
|
|
825
825
|
The created task
|
|
826
826
|
"""
|
|
827
|
-
freq_str = f"{self.conf['freq']}
|
|
827
|
+
freq_str = f"{self.conf['freq']}s"
|
|
828
828
|
next_ts = pd.Timestamp(ts).floor(freq_str)
|
|
829
829
|
delta = pd.Timedelta(freq_str)
|
|
830
830
|
return asyncio.create_task(self._monitor_loop(next_ts, delta, coro, *args))
|
|
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
|