sycommon-python-lib 0.1.13__py3-none-any.whl → 0.1.14__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 sycommon-python-lib might be problematic. Click here for more details.

sycommon/synacos/feign.py CHANGED
@@ -300,7 +300,7 @@ def feign_client(service_name: str, path_prefix: str = "", default_timeout: floa
300
300
  # 3. 服务发现
301
301
  version = headers.get('s-y-version')
302
302
  instances = self.nacos_manager.get_service_instances(
303
- self.service_name, version=version)
303
+ self.service_name, target_version=version)
304
304
  if not instances:
305
305
  raise RuntimeError(
306
306
  f"未找到服务 {self.service_name} 的健康实例")
@@ -427,7 +427,7 @@ async def feign(service_name, api_path, method='GET', params=None, headers=None,
427
427
 
428
428
  # 获取服务实例
429
429
  instances = nacos_service.get_service_instances(
430
- service_name, version=version)
430
+ service_name, target_version=version)
431
431
  if not instances:
432
432
  SYLogger.error(f"nacos:未找到 {service_name} 的健康实例")
433
433
  return None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sycommon-python-lib
3
- Version: 0.1.13
3
+ Version: 0.1.14
4
4
  Summary: Add your description here
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -36,14 +36,14 @@ sycommon/models/sso_user.py,sha256=i1WAN6k5sPcPApQEdtjpWDy7VrzWLpOrOQewGLGoGIw,2
36
36
  sycommon/rabbitmq/rabbitmq_client.py,sha256=UlmiEMuEID8CeJvqfoht9lMjqnrhacrYVx3ah5wLYcs,36896
37
37
  sycommon/rabbitmq/rabbitmq_service.py,sha256=LgN_g3UFs8WavMzxX_biIU4H6ONAo6aE8Em8h9xAKNc,27828
38
38
  sycommon/synacos/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
- sycommon/synacos/feign.py,sha256=PX7jqexICGm-a9oKULPFUTcNQVeXbXwRo12XXy5oHnM,21268
39
+ sycommon/synacos/feign.py,sha256=qALBl3YwVGvAzgx6tvwW84GptfS1u8WpapTRTygZROM,21282
40
40
  sycommon/synacos/nacos_service.py,sha256=WylpKPd6Q7xsqcvxWWwsLTauuQ1H94p596IQZVT429k,33863
41
41
  sycommon/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
42
  sycommon/tools/docs.py,sha256=OPj2ETheuWjXLyaXtaZPbwmJKfJaYXV5s4XMVAUNrms,1607
43
43
  sycommon/tools/snowflake.py,sha256=rc-VUjBMMpdAvbnHroVwfVt1xzApJbTCthUy9mglAuw,237
44
44
  sycommon/tools/timing.py,sha256=OiiE7P07lRoMzX9kzb8sZU9cDb0zNnqIlY5pWqHcnkY,2064
45
- sycommon_python_lib-0.1.13.dist-info/METADATA,sha256=xZec1s2Mi8_oM4PGW5w1A35scx09RgwRKkvv7Q2OWIw,7005
46
- sycommon_python_lib-0.1.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
47
- sycommon_python_lib-0.1.13.dist-info/entry_points.txt,sha256=q_h2nbvhhmdnsOUZEIwpuoDjaNfBF9XqppDEmQn9d_A,46
48
- sycommon_python_lib-0.1.13.dist-info/top_level.txt,sha256=98CJ-cyM2WIKxLz-Pf0AitWLhJyrfXvyY8slwjTXNuc,17
49
- sycommon_python_lib-0.1.13.dist-info/RECORD,,
45
+ sycommon_python_lib-0.1.14.dist-info/METADATA,sha256=lSoZl77PSvmlTUTzvyUCFrlPzHSPrXthbIdUdwpn1Tk,7005
46
+ sycommon_python_lib-0.1.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
47
+ sycommon_python_lib-0.1.14.dist-info/entry_points.txt,sha256=q_h2nbvhhmdnsOUZEIwpuoDjaNfBF9XqppDEmQn9d_A,46
48
+ sycommon_python_lib-0.1.14.dist-info/top_level.txt,sha256=98CJ-cyM2WIKxLz-Pf0AitWLhJyrfXvyY8slwjTXNuc,17
49
+ sycommon_python_lib-0.1.14.dist-info/RECORD,,