Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gerion Entrup
brainzfs
Commits
a184dd8a
Commit
a184dd8a
authored
Jun 30, 2015
by
Gerion Entrup
Browse files
mbdata: fix postgresql deprecation warning
parent
23bfa5bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
mbdata/models.py
View file @
a184dd8a
...
...
@@ -5,7 +5,7 @@
# pylint: disable=W0232
from
sqlalchemy
import
Column
,
Integer
,
String
,
ForeignKey
,
Boolean
,
DateTime
,
Time
,
Date
,
Enum
,
Interval
,
CHAR
,
CheckConstraint
,
sql
from
sqlalchemy.dialects.postgres
import
UUID
,
SMALLINT
,
BIGINT
from
sqlalchemy.dialects.postgres
ql
import
UUID
,
SMALLINT
,
BIGINT
from
sqlalchemy.ext.declarative
import
declarative_base
from
sqlalchemy.ext.hybrid
import
hybrid_property
from
sqlalchemy.orm
import
relationship
,
composite
,
backref
...
...
mbdata/types.py
View file @
a184dd8a
...
...
@@ -3,7 +3,7 @@
import
re
from
sqlalchemy.ext.compiler
import
compiles
from
sqlalchemy.dialects.postgres
import
UUID
from
sqlalchemy.dialects.postgres
ql
import
UUID
from
sqlalchemy.types
import
UserDefinedType
from
sqlalchemy.sql.expression
import
ClauseElement
,
TextClause
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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