DYPMS 0.7__tar.gz → 0.8__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.
- {dypms-0.7/src/DYPMS.egg-info → dypms-0.8}/PKG-INFO +1 -1
- {dypms-0.7 → dypms-0.8}/pyproject.toml +1 -1
- {dypms-0.7 → dypms-0.8}/src/DYPMS/api/get_style_attribution.py +1 -1
- {dypms-0.7 → dypms-0.8/src/DYPMS.egg-info}/PKG-INFO +1 -1
- {dypms-0.7 → dypms-0.8}/LICENSE +0 -0
- {dypms-0.7 → dypms-0.8}/README.md +0 -0
- {dypms-0.7 → dypms-0.8}/setup.cfg +0 -0
- {dypms-0.7 → dypms-0.8}/src/DYPMS/__init__.py +0 -0
- {dypms-0.7 → dypms-0.8}/src/DYPMS/api/__init__.py +0 -0
- {dypms-0.7 → dypms-0.8}/src/DYPMS/api/get_simulate_portfolio_list.py +0 -0
- {dypms-0.7 → dypms-0.8}/src/DYPMS/api/get_simulate_portfolio_nav.py +0 -0
- {dypms-0.7 → dypms-0.8}/src/DYPMS/api/get_simulate_portfolio_performance_indicators.py +0 -0
- {dypms-0.7 → dypms-0.8}/src/DYPMS/api/get_simulate_portfolio_position.py +0 -0
- {dypms-0.7 → dypms-0.8}/src/DYPMS/api/get_simulate_portfolio_position_hierarchy.py +0 -0
- {dypms-0.7 → dypms-0.8}/src/DYPMS/api/heartbeat.py +0 -0
- {dypms-0.7 → dypms-0.8}/src/DYPMS/api/util.py +0 -0
- {dypms-0.7 → dypms-0.8}/src/DYPMS/client.py +0 -0
- {dypms-0.7 → dypms-0.8}/src/DYPMS/enums.py +0 -0
- {dypms-0.7 → dypms-0.8}/src/DYPMS.egg-info/SOURCES.txt +0 -0
- {dypms-0.7 → dypms-0.8}/src/DYPMS.egg-info/dependency_links.txt +0 -0
- {dypms-0.7 → dypms-0.8}/src/DYPMS.egg-info/top_level.txt +0 -0
|
@@ -34,7 +34,7 @@ def get_style_attribution(client, simulate_portfolio_id):
|
|
|
34
34
|
# 获取计算任务ID
|
|
35
35
|
task_id = calc_result.get('id')
|
|
36
36
|
if not task_id:
|
|
37
|
-
raise Exception(
|
|
37
|
+
raise Exception(r.get('msg'))
|
|
38
38
|
|
|
39
39
|
# 2. 轮询接口,每隔3秒一次,最多轮询10分钟
|
|
40
40
|
polling_url = f"{client.base_url}/lib/common/v1/polling"
|
{dypms-0.7 → dypms-0.8}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|