Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
factor-detail
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
子恒
factor-detail
Commits
47037799
Commit
47037799
authored
May 05, 2020
by
子恒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Optimize]修改factor_detail表结构
parent
6c04dfd7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
factor_detail_doc.xlsx
doc/factor_detail_doc.xlsx
+0
-0
factor_detail_doc.py
factor_detail_doc.py
+1
-1
No files found.
doc/factor_detail_doc.xlsx
View file @
47037799
No preview for this file type
factor_detail_doc.py
View file @
47037799
...
@@ -15,7 +15,7 @@ class FactorDetailDoc(object):
...
@@ -15,7 +15,7 @@ class FactorDetailDoc(object):
self
.
_destination
=
sa
.
create_engine
(
db_url
)
self
.
_destination
=
sa
.
create_engine
(
db_url
)
self
.
_destsession
=
sessionmaker
(
bind
=
self
.
_destination
,
autocommit
=
False
,
autoflush
=
True
)
self
.
_destsession
=
sessionmaker
(
bind
=
self
.
_destination
,
autocommit
=
False
,
autoflush
=
True
)
self
.
_factor_detail_columns
=
[
'factor_type'
,
'factor_name'
,
'factor_en_name'
,
'factor_cn_name'
,
'direction'
,
self
.
_factor_detail_columns
=
[
'factor_type'
,
'factor_name'
,
'factor_en_name'
,
'factor_cn_name'
,
'direction'
,
'description'
,
'latxt_description'
,
'unit'
,
'view_dimension'
,
'tag'
]
'description'
,
'latxt_description'
,
'unit'
,
'view_dimension'
,
'tag'
,
'source'
,
'remark'
,
'period'
]
def
_exec_sql
(
self
,
sql
):
def
_exec_sql
(
self
,
sql
):
session
=
self
.
_destsession
()
session
=
self
.
_destsession
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment