sycommon-python-lib 0.2.6a5__py3-none-any.whl → 0.2.6a7__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.
@@ -162,7 +162,10 @@ class KafkaSink:
162
162
 
163
163
  def flush(self):
164
164
  if self._producer:
165
- self._producer.flush(timeout=5)
165
+ try:
166
+ self._producer.flush(timeout=5)
167
+ except Exception:
168
+ pass
166
169
 
167
170
  def close(self):
168
171
  """关闭 KafkaProducer,释放连接池资源"""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sycommon-python-lib
3
- Version: 0.2.6a5
3
+ Version: 0.2.6a7
4
4
  Summary: Add your description here
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -15,8 +15,8 @@ Requires-Dist: fastapi==0.136.3
15
15
  Requires-Dist: jinja2==3.1.6
16
16
  Requires-Dist: kafka-python==2.3.2
17
17
  Requires-Dist: langchain==1.3.7
18
- Requires-Dist: langchain-core==1.4.6
19
- Requires-Dist: langchain-openai==1.2.2
18
+ Requires-Dist: langchain-core==1.4.4
19
+ Requires-Dist: langchain-openai==1.3.0
20
20
  Requires-Dist: langfuse==4.7.1
21
21
  Requires-Dist: langgraph==1.2.4
22
22
  Requires-Dist: langgraph-checkpoint-postgres==3.1.0
@@ -34,13 +34,13 @@ Requires-Dist: pyyaml==6.0.3
34
34
  Requires-Dist: redis==7.4.0
35
35
  Requires-Dist: sentry-sdk[fastapi]==2.62.0
36
36
  Requires-Dist: sqlalchemy[asyncio]==2.0.50
37
- Requires-Dist: starlette[full]==1.3.0
37
+ Requires-Dist: starlette[full]==1.2.1
38
38
  Requires-Dist: tiktoken==0.13.0
39
39
  Requires-Dist: uvicorn==0.49.0
40
40
  Requires-Dist: wecom-aibot-python-sdk==1.0.2
41
41
  Requires-Dist: twine==6.2.0
42
42
  Requires-Dist: minio==7.2.20
43
- Requires-Dist: langchain-mcp-adapters==0.2.2
43
+ Requires-Dist: langchain-mcp-adapters==0.3.0
44
44
  Requires-Dist: fastapi-mcp==0.4.0
45
45
  Requires-Dist: psycopg[binary,pool]==3.3.4
46
46
  Requires-Dist: acp-sdk>=1.0.3
@@ -202,7 +202,7 @@ sycommon/llm/tiktoken_cache/9b5ad71b2ce5302211f9c61530b329a4922fc6a4,sha256=Ijkh
202
202
  sycommon/llm/tiktoken_cache/fb374d419588a4632f3f557e76b4b70aebbca790,sha256=RGqVOMtsNI41FhINfAiwn1fDZJXirP_-WaW_iwz7Gi0,3613922
203
203
  sycommon/logging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
204
204
  sycommon/logging/async_sql_logger.py,sha256=_OY36XkUm__U3NhMgiecy-qd-nptZ_0gpE3J8lGAr58,2619
205
- sycommon/logging/kafka_log.py,sha256=5tbCYMLEm7RwfWoYQMZU96xjaEGG6T0QfBhglxT5Q8E,13310
205
+ sycommon/logging/kafka_log.py,sha256=RHfz3K3F0lV96VIjwFExmgNvtvED8CZWD9smzdFVs-Q,13382
206
206
  sycommon/logging/logger_levels.py,sha256=_-uQ_T1N8NkNgcAmLrMmJ83nHTDw5ZNvXFPvdk89XGY,1144
207
207
  sycommon/logging/logger_wrapper.py,sha256=TtzmGw_K5NjBGBq9Gjqtnh834izAv8TQwsOeL2fIbAI,481
208
208
  sycommon/logging/process_logger.py,sha256=rjunPTaDejtusvobSrc3G44DEqnt_bbNSY3r8cWqBsY,5895
@@ -290,8 +290,8 @@ sycommon/tools/syemail.py,sha256=BDFhgf7WDOQeTcjxJEQdu0dQhnHFPO_p3eI0-Ni3LhQ,561
290
290
  sycommon/tools/timing.py,sha256=OiiE7P07lRoMzX9kzb8sZU9cDb0zNnqIlY5pWqHcnkY,2064
291
291
  sycommon/xxljob/__init__.py,sha256=7eoBlQxv-B39IfRSCY2bkqdGYs1QRe1umAWd88VMEEM,86
292
292
  sycommon/xxljob/xxljob_service.py,sha256=JIEJaGXhqrTLcyxlyynSrsHg9bBnDNzX-D4qIWLRPUE,6815
293
- sycommon_python_lib-0.2.6a5.dist-info/METADATA,sha256=TopwMFzHdAQpiLylalKZk40bf9Oe9mgm2QswKOcIRcs,7943
294
- sycommon_python_lib-0.2.6a5.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
295
- sycommon_python_lib-0.2.6a5.dist-info/entry_points.txt,sha256=gsR4SssKxDWjRU8ggidzNcdMXDPRSKRS7UaGyNP84Qg,92
296
- sycommon_python_lib-0.2.6a5.dist-info/top_level.txt,sha256=RgphKrg7nJyZ7irJqbxFr-5H2LUYTvI7ivoWZH2hcD0,29
297
- sycommon_python_lib-0.2.6a5.dist-info/RECORD,,
293
+ sycommon_python_lib-0.2.6a7.dist-info/METADATA,sha256=Qt9qMQ8h1yV9xYD7s-i7A6P36MganMalIcwrV7ojNlk,7943
294
+ sycommon_python_lib-0.2.6a7.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
295
+ sycommon_python_lib-0.2.6a7.dist-info/entry_points.txt,sha256=gsR4SssKxDWjRU8ggidzNcdMXDPRSKRS7UaGyNP84Qg,92
296
+ sycommon_python_lib-0.2.6a7.dist-info/top_level.txt,sha256=RgphKrg7nJyZ7irJqbxFr-5H2LUYTvI7ivoWZH2hcD0,29
297
+ sycommon_python_lib-0.2.6a7.dist-info/RECORD,,