gjdatac-api 0.0.7__tar.gz → 0.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.
- {gjdatac_api-0.0.7 → gjdatac_api-0.0.8}/PKG-INFO +1 -1
- {gjdatac_api-0.0.7 → gjdatac_api-0.0.8}/gjdatac_api/data_api_class.py +8 -8
- {gjdatac_api-0.0.7 → gjdatac_api-0.0.8}/gjdatac_api.egg-info/PKG-INFO +1 -1
- {gjdatac_api-0.0.7 → gjdatac_api-0.0.8}/setup.py +1 -1
- {gjdatac_api-0.0.7 → gjdatac_api-0.0.8}/gjdatac_api/__init__.py +0 -0
- {gjdatac_api-0.0.7 → gjdatac_api-0.0.8}/gjdatac_api/dict_data.py +0 -0
- {gjdatac_api-0.0.7 → gjdatac_api-0.0.8}/gjdatac_api/dolphin_db_info.py +0 -0
- {gjdatac_api-0.0.7 → gjdatac_api-0.0.8}/gjdatac_api.egg-info/SOURCES.txt +0 -0
- {gjdatac_api-0.0.7 → gjdatac_api-0.0.8}/gjdatac_api.egg-info/dependency_links.txt +0 -0
- {gjdatac_api-0.0.7 → gjdatac_api-0.0.8}/gjdatac_api.egg-info/requires.txt +0 -0
- {gjdatac_api-0.0.7 → gjdatac_api-0.0.8}/gjdatac_api.egg-info/top_level.txt +0 -0
- {gjdatac_api-0.0.7 → gjdatac_api-0.0.8}/setup.cfg +0 -0
|
@@ -32,14 +32,14 @@ class GJDataC:
|
|
|
32
32
|
self.user_id = user_id
|
|
33
33
|
self.password = password
|
|
34
34
|
|
|
35
|
-
# 连接数据库
|
|
36
|
-
self.db_session = ddb.session()
|
|
37
|
-
success = self.db_session.connect(self.host, self.port, self.user_id, self.password)
|
|
38
|
-
if not success:
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
''' 关闭数据库连接 '''
|
|
42
|
-
self.db_session.close()
|
|
35
|
+
# # 连接数据库
|
|
36
|
+
# self.db_session = ddb.session()
|
|
37
|
+
# success = self.db_session.connect(self.host, self.port, self.user_id, self.password)
|
|
38
|
+
# if not success:
|
|
39
|
+
# raise Exception("please check your database connection information")
|
|
40
|
+
#
|
|
41
|
+
# ''' 关闭数据库连接 '''
|
|
42
|
+
# self.db_session.close()
|
|
43
43
|
|
|
44
44
|
''' get_price 接口相关属性 '''
|
|
45
45
|
# self.get_price_data = None # 用于存放get_price接口数据
|
|
@@ -5,7 +5,7 @@ with open('description_info.md', 'r', encoding='utf-8') as f:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name='gjdatac_api', # 你的包名
|
|
8
|
-
version='0.0.
|
|
8
|
+
version='0.0.8', # 版本号
|
|
9
9
|
description='主动管理项目第一版(部分接口)', # 包的简要描述
|
|
10
10
|
long_description=long_description, # 包的详细描述
|
|
11
11
|
long_description_content_type='text/markdown', # 描述文件的类型
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|