cobweb-launcher 1.2.31__py3-none-any.whl → 1.2.32__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 cobweb-launcher might be problematic. Click here for more details.

cobweb/utils/dotting.py CHANGED
@@ -1,14 +1,12 @@
1
1
  import json
2
2
 
3
3
  from aliyun.log import LogClient, PutLogsRequest, LogItem
4
-
5
4
  from cobweb import setting
6
5
 
7
6
 
8
7
  class LoghubDot:
9
8
 
10
- def __init__(self, *args, **kwargs):
11
- super().__init__(*args, **kwargs)
9
+ def __init__(self):
12
10
  self.client = LogClient(**setting.LOGHUB_CONFIG)
13
11
 
14
12
  def build(self, topic, **kwargs):
@@ -19,11 +17,12 @@ class LoghubDot:
19
17
  temp[key] = json.dumps(value, ensure_ascii=False)
20
18
  contents = sorted(temp.items())
21
19
  log_item.set_contents(contents)
20
+
22
21
  request = PutLogsRequest(
23
22
  project="databee-download-log",
24
23
  logstore="cobweb_log",
25
24
  topic=topic,
26
- logitems=contents,
25
+ logitems=[contents],
27
26
  compress=True
28
27
  )
29
28
  self.client.put_logs(request=request)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cobweb-launcher
3
- Version: 1.2.31
3
+ Version: 1.2.32
4
4
  Summary: spider_hole
5
5
  Home-page: https://github.com/Juannie-PP/cobweb
6
6
  Author: Juannie-PP
@@ -31,7 +31,7 @@ cobweb/pipelines/pipeline_console.py,sha256=NEh-4zhuVAQOqwXLsqeb-rcNZ9_KXFUpL3ot
31
31
  cobweb/pipelines/pipeline_loghub.py,sha256=xZ6D55BGdiM71WUv83jyLGbEyUwhBHLJRZoXthBxxTs,1019
32
32
  cobweb/utils/__init__.py,sha256=Ev2LZZ1-S56iQYDqFZrqadizEv4Gk8Of-DraH-_WnKY,109
33
33
  cobweb/utils/bloom.py,sha256=vng-YbKgh9HbtpAWYf_nkUSbfVTOj40aqUUejRYlsCU,1752
34
- cobweb/utils/dotting.py,sha256=dSxYOjqfMW9d3Z7CZx6RlJcAKNER0-mT8KgiPDm1_C8,827
34
+ cobweb/utils/dotting.py,sha256=dANYZk4G2Lhz0dpN0Invrbk8mEZZGEMu8AYe-wtQTrw,770
35
35
  cobweb/utils/oss.py,sha256=gyt8-UB07tVphZLQXMOf-JTJwU-mWq8KZkOXKkAf3uk,3513
36
36
  cobweb/utils/tools.py,sha256=5JEaaAwYoV9Sdla2UBIJn6faUBuXmxUMagm9ck6FVqs,1253
37
37
  cobweb_new/__init__.py,sha256=CBd2oByCfc5EmH2dCZYVHkxXYZG-oWrLyTtZU5sEoP0,96
@@ -67,8 +67,8 @@ cobweb_new/utils/__init__.py,sha256=c9macpjc15hrCUCdzO5RR_sgK_B9kvJKreSGprZ1ld4,
67
67
  cobweb_new/utils/bloom.py,sha256=vng-YbKgh9HbtpAWYf_nkUSbfVTOj40aqUUejRYlsCU,1752
68
68
  cobweb_new/utils/oss.py,sha256=gyt8-UB07tVphZLQXMOf-JTJwU-mWq8KZkOXKkAf3uk,3513
69
69
  cobweb_new/utils/tools.py,sha256=5JEaaAwYoV9Sdla2UBIJn6faUBuXmxUMagm9ck6FVqs,1253
70
- cobweb_launcher-1.2.31.dist-info/LICENSE,sha256=z1rxSIGOyzcSb3orZxFPxzx-0C1vTocmswqBNxpKfEk,1063
71
- cobweb_launcher-1.2.31.dist-info/METADATA,sha256=xanPaLf5XrEkR-njy3_EofcBSECfm1AaXGt5PHgtc7w,6510
72
- cobweb_launcher-1.2.31.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
73
- cobweb_launcher-1.2.31.dist-info/top_level.txt,sha256=UKwd478nkspJ6_fos3jtuc7SKXfmU42bJa_Ek5n2zsE,18
74
- cobweb_launcher-1.2.31.dist-info/RECORD,,
70
+ cobweb_launcher-1.2.32.dist-info/LICENSE,sha256=z1rxSIGOyzcSb3orZxFPxzx-0C1vTocmswqBNxpKfEk,1063
71
+ cobweb_launcher-1.2.32.dist-info/METADATA,sha256=uw1KrJ0tt_n0kidw854qOfEf6Hjlnpmt089bWcspc8Y,6510
72
+ cobweb_launcher-1.2.32.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
73
+ cobweb_launcher-1.2.32.dist-info/top_level.txt,sha256=UKwd478nkspJ6_fos3jtuc7SKXfmU42bJa_Ek5n2zsE,18
74
+ cobweb_launcher-1.2.32.dist-info/RECORD,,