micromegas 0.1.1__py3-none-any.whl → 0.1.2__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.
- micromegas/__init__.py +0 -0
- micromegas/client.py +15 -4
- micromegas/request.py +0 -0
- {micromegas-0.1.1.dist-info → micromegas-0.1.2.dist-info}/METADATA +1 -1
- micromegas-0.1.2.dist-info/RECORD +6 -0
- micromegas-0.1.1.dist-info/RECORD +0 -6
- {micromegas-0.1.1.dist-info → micromegas-0.1.2.dist-info}/WHEEL +0 -0
micromegas/__init__.py
CHANGED
File without changes
|
micromegas/client.py
CHANGED
@@ -13,16 +13,15 @@ class Client:
|
|
13
13
|
headers=self.headers,
|
14
14
|
)
|
15
15
|
|
16
|
-
def query_streams(self, begin, end, limit, tag_filter=None):
|
16
|
+
def query_streams(self, begin, end, limit, process_id=None, tag_filter=None):
|
17
17
|
args = {
|
18
18
|
"begin": begin.isoformat(),
|
19
19
|
"end": end.isoformat(),
|
20
20
|
"limit": limit,
|
21
|
+
"process_id": process_id,
|
22
|
+
"tag_filter": tag_filter,
|
21
23
|
}
|
22
24
|
|
23
|
-
if tag_filter is not None:
|
24
|
-
args["tag_filter"] = tag_filter
|
25
|
-
|
26
25
|
return request.request(
|
27
26
|
self.analytics_base_url + "query_streams",
|
28
27
|
args,
|
@@ -54,3 +53,15 @@ class Client:
|
|
54
53
|
},
|
55
54
|
headers=self.headers,
|
56
55
|
)
|
56
|
+
|
57
|
+
def query_log_entries(self, begin, end, limit, stream_id):
|
58
|
+
return request.request(
|
59
|
+
self.analytics_base_url + "query_log_entries",
|
60
|
+
{
|
61
|
+
"begin": begin.isoformat(),
|
62
|
+
"end": end.isoformat(),
|
63
|
+
"limit": limit,
|
64
|
+
"stream_id": stream_id,
|
65
|
+
},
|
66
|
+
headers=self.headers,
|
67
|
+
)
|
micromegas/request.py
CHANGED
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
micromegas/__init__.py,sha256=UXvwqJy81hhlwDNlKb2zXjLSR5ZuFBPc_L4BckBPwoM,43
|
2
|
+
micromegas/client.py,sha256=5NAthRRbOM6lk_OIkehqCtN7EEEmeYz2TiFd565sotQ,2010
|
3
|
+
micromegas/request.py,sha256=u6nqXV5iQjLdXjVrzDqrDV1yoqUbeJ9qjiVgz87-uN8,512
|
4
|
+
micromegas-0.1.2.dist-info/METADATA,sha256=k1GD2aohPXhlnnPIcMGdS0f6QakC6AHLzqJXrnot9lA,761
|
5
|
+
micromegas-0.1.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
6
|
+
micromegas-0.1.2.dist-info/RECORD,,
|
@@ -1,6 +0,0 @@
|
|
1
|
-
micromegas/__init__.py,sha256=UXvwqJy81hhlwDNlKb2zXjLSR5ZuFBPc_L4BckBPwoM,43
|
2
|
-
micromegas/client.py,sha256=ahADQ2JthBHGPdL0aQMvRLhnD1bE-lHIBLvzDN1RY5c,1613
|
3
|
-
micromegas/request.py,sha256=u6nqXV5iQjLdXjVrzDqrDV1yoqUbeJ9qjiVgz87-uN8,512
|
4
|
-
micromegas-0.1.1.dist-info/METADATA,sha256=eibjoy0EEgb3Net-NTH0joEgJ90yaktUAFIKaLqk_WM,761
|
5
|
-
micromegas-0.1.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
6
|
-
micromegas-0.1.1.dist-info/RECORD,,
|
File without changes
|