itam-assistant 0.1.13__tar.gz → 0.1.14__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.
Files changed (19) hide show
  1. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/PKG-INFO +1 -1
  2. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/itam_assistant/openapi.py +4 -0
  3. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/itam_assistant.egg-info/PKG-INFO +1 -1
  4. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/setup.py +1 -1
  5. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/README.md +0 -0
  6. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/itam_assistant/__init__.py +0 -0
  7. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/itam_assistant/ailyapp_client.py +0 -0
  8. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/itam_assistant/config.py +0 -0
  9. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/itam_assistant/do_ai.py +0 -0
  10. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/itam_assistant/intent_detail.py +0 -0
  11. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/itam_assistant/lark_client.py +0 -0
  12. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/itam_assistant/logger.py +0 -0
  13. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/itam_assistant/test.py +0 -0
  14. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/itam_assistant.egg-info/SOURCES.txt +0 -0
  15. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/itam_assistant.egg-info/dependency_links.txt +0 -0
  16. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/itam_assistant.egg-info/requires.txt +0 -0
  17. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/itam_assistant.egg-info/top_level.txt +0 -0
  18. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/setup.cfg +0 -0
  19. {itam_assistant-0.1.13 → itam_assistant-0.1.14}/test/test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: itam_assistant
3
- Version: 0.1.13
3
+ Version: 0.1.14
4
4
  Summary: 优化版本--算法-水位线
5
5
  Home-page: https://github.com/liujunmeiD/itam_assistant
6
6
  Author: liujunmeiD
@@ -565,6 +565,10 @@ def GetBestMatchItemonline_(SearchKey, HardwareMatchType, clientinfo):
565
565
  'cookie') or 'MONITOR_WEB_ID=ce5a3279-6ed5-4ede-9b00-29aa7c1a1311; bd_sso_3b6da9=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NTAzMzYyMzMsImlhdCI6MTc0OTczMTQzMywiaXNzIjoic3NvLmJ5dGVkYW5jZS5jb20iLCJzdWIiOiJkZWdubjk2MWtma2treW9waDd5cyIsInRlbmFudF9pZCI6ImhncTN0Y2NwM2kxc2pqbjU4emlrIn0.dMO0OWpMvIXmHGHfgxU3FRvwLOqNWAW_kiWDiHWt9wMxQd5qsi9PILBXCEYP4NVq5CaNbU_XO488CJz0vxxNh50hLdk5Jgf7n1lm-FaTJ-AtD7tqBlUl94ZB38GiAb2m7U4xC-7iHWVH2Mp-M92Z7_jgB0xJcEiDmOhlLqBviatlLGcoeAIjhpK01MA04T6Efb5M_OgeJbbqOZgl-jSdIvY6SD5my9kSzg1KE3E1caquPzYMDtgjIy9L8rkqYz0A77DXac6l0tv6daHshoPvgtc4urTV9QdT6XAYyPO_yf8ISXz03opaKkmHtZ5slIFSqgTPbLJ9Y_dmaZuX9D_NRg; MONITOR_WEB_ID=ce5a3279-6ed5-4ede-9b00-29aa7c1a1311; _tea_utm_cache_1508={%22utm_source%22:%22startup%22%2C%22utm_medium%22:%22chrome%22}; _tea_utm_cache_1229=undefined; amuserid=7036392@bytedance.people',
566
566
  'Content-Type': 'application/json'
567
567
  }
568
+ if clientinfo.get('x_tt_env'):
569
+ headers['x-tt-env'] = clientinfo.get('x_tt_env')
570
+ headers['x-use-ppe'] = '1'
571
+
568
572
 
569
573
  response = requests.request("POST", url, headers=headers, data=payload)
570
574
  response0 = json.loads(response.text)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: itam_assistant
3
- Version: 0.1.13
3
+ Version: 0.1.14
4
4
  Summary: 优化版本--算法-水位线
5
5
  Home-page: https://github.com/liujunmeiD/itam_assistant
6
6
  Author: liujunmeiD
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="itam_assistant", # 包名称
5
- version="0.1.13", # 版本号
5
+ version="0.1.14", # 版本号
6
6
  author="liujunmeiD",
7
7
  author_email="1105030421@qq.com",
8
8
  description="优化版本--算法-水位线",