Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
alpha-mind
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
Dr.李
alpha-mind
Commits
4d38f7b8
Commit
4d38f7b8
authored
Jul 08, 2017
by
Dr.李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor db engine
parent
de2d6d88
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
194 additions
and
0 deletions
+194
-0
__init__.py
alphamind/data/engines/__init__.py
+0
-0
sqlengine.py
alphamind/data/engines/sqlengine.py
+171
-0
universe.py
alphamind/data/engines/universe.py
+23
-0
No files found.
alphamind/data/engines/__init__.py
0 → 100644
View file @
4d38f7b8
alphamind/data/
stor
e.py
→
alphamind/data/
engines/sqlengin
e.py
View file @
4d38f7b8
This diff is collapsed.
Click to expand it.
alphamind/data/engines/universe.py
0 → 100644
View file @
4d38f7b8
# -*- coding: utf-8 -*-
"""
Created on 2017-7-7
@author: cheng.li
"""
from
typing
import
Iterable
class
Universe
(
object
):
def
__init__
(
self
,
include_universe
:
Iterable
[
str
]
=
None
,
exclude_universe
:
Iterable
[
str
]
=
None
,
include_codes
:
Iterable
[
str
]
=
None
,
exclude_codes
:
Iterable
[
str
]
=
None
):
self
.
include_universe
=
include_universe
self
.
exclude_universe
=
exclude_universe
self
.
include_codes
=
include_codes
self
.
exclude_codes
=
exclude_codes
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