DYPMS 0.1__tar.gz → 0.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: DYPMS
3
- Version: 0.1
3
+ Version: 0.2
4
4
  Summary: 通联数据PMS系统数据SDK
5
5
  Author-email: songjiangduo <jiangduo.song@datayes.com>
6
6
  License-Expression: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "DYPMS"
7
- version = "0.1"
7
+ version = "0.2"
8
8
  authors = [
9
9
  { name = "songjiangduo", email = "jiangduo.song@datayes.com" }
10
10
  ]
@@ -109,18 +109,6 @@ field_mapping = {
109
109
  'fxRate': 'valuation_exchange_rate',
110
110
  'positionTime': 'market_quotation_time',
111
111
  'holdDate': 'position_building_date',
112
- 'partyFullName': 'issuing_entity',
113
- 'yearToMaturity': 'remaining_maturity',
114
- 'nominalRatingInst': 'bond_rating_agency',
115
- 'nominalRating': 'bond_rating',
116
- 'margin': 'margin_requirement',
117
- 'city': 'city',
118
- 'province': 'province',
119
- 'instRatingYY': 'issuer_rating_(YY)',
120
- 'instRatingDate': 'issuer_rating_date',
121
- 'instRating': 'issuer_rating',
122
- 'nominalRatingDate': 'bond_rating_date',
123
- 'instRatingInst': 'issuer_rating_agency'
124
112
  }
125
113
 
126
114
 
@@ -6,7 +6,7 @@ def get_response_json_with_check(response):
6
6
  if r.get('code') == -403:
7
7
  raise Exception("token认证失败")
8
8
  if r.get('code') != 'S00000':
9
- raise Exception(r.get('message'))
9
+ raise Exception(r.get('msg'))
10
10
  return r
11
11
 
12
12
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: DYPMS
3
- Version: 0.1
3
+ Version: 0.2
4
4
  Summary: 通联数据PMS系统数据SDK
5
5
  Author-email: songjiangduo <jiangduo.song@datayes.com>
6
6
  License-Expression: MIT
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