Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
InitAPIData
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ZGC_INDEX
InitAPIData
Commits
69fa1067
Commit
69fa1067
authored
Jan 19, 2020
by
rico.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5c84b4e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
initAPIData.py
initAPIData.py
+5
-3
No files found.
initAPIData.py
View file @
69fa1067
...
@@ -12,7 +12,6 @@ import datetime
...
@@ -12,7 +12,6 @@ import datetime
#from pyforest import *
#from pyforest import *
from
matchSKU
import
matchSKU
from
matchSKU
import
matchSKU
from
checkData
import
checkData
from
checkData
import
checkData
import
sys
import
sys
sys
.
path
.
append
(
"zhouxingyu_project"
)
sys
.
path
.
append
(
"zhouxingyu_project"
)
from
main_merge
import
*
from
main_merge
import
*
...
@@ -171,7 +170,10 @@ def initAPIData(base_frm):
...
@@ -171,7 +170,10 @@ def initAPIData(base_frm):
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
if
initAPIData
(
'ZH_SN'
):
#source = 'ZH_SN'
source
=
'ZH_YHD'
if
initAPIData
(
source
):
data_api
=
data_fetch
(
model
=
'LXWL_model'
,
localhost
=
False
,
source
=
'ZH_SN'
)
data_api
=
data_fetch
(
model
=
'LXWL_model'
,
localhost
=
False
,
source
=
source
)
data_api_table
=
data_api
.
run
()
data_api_table
=
data_api
.
run
()
\ No newline at end of file
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