Show More
@@ -34,14 +34,17 b' import functools' | |||
|
34 | 34 | import traceback |
|
35 | 35 | import collections |
|
36 | 36 | |
|
37 | ||
|
38 | from sqlalchemy import * | |
|
37 | from sqlalchemy import ( | |
|
38 | or_, and_, not_, func, TypeDecorator, event, | |
|
39 | Index, UniqueConstraint, ForeignKey, CheckConstraint, Column, | |
|
40 | Boolean, String, Unicode, UnicodeText, DateTime, Integer, LargeBinary, | |
|
41 | Text, Float, PickleType) | |
|
42 | from sqlalchemy.sql.expression import true, false | |
|
43 | from sqlalchemy.sql.functions import coalesce, count # noqa | |
|
44 | from sqlalchemy.orm import ( | |
|
45 | relationship, joinedload, class_mapper, validates, aliased) | |
|
39 | 46 | from sqlalchemy.ext.declarative import declared_attr |
|
40 | 47 | from sqlalchemy.ext.hybrid import hybrid_property |
|
41 | from sqlalchemy.orm import ( | |
|
42 | relationship, joinedload, class_mapper, validates, aliased) | |
|
43 | from sqlalchemy.sql.expression import true | |
|
44 | from sqlalchemy.sql.functions import coalesce, count # noqa | |
|
45 | 48 | from sqlalchemy.exc import IntegrityError # noqa |
|
46 | 49 | from sqlalchemy.dialects.mysql import LONGTEXT |
|
47 | 50 | from beaker.cache import cache_region |
@@ -56,7 +59,8 b' from rhodecode.lib.utils2 import (' | |||
|
56 | 59 | str2bool, safe_str, get_commit_safe, safe_unicode, md5_safe, |
|
57 | 60 | time_to_datetime, aslist, Optional, safe_int, get_clone_url, AttributeDict, |
|
58 | 61 | glob2re, StrictAttributeDict, cleaned_uri) |
|
59 | from rhodecode.lib.jsonalchemy import MutationObj, MutationList, JsonType | |
|
62 | from rhodecode.lib.jsonalchemy import MutationObj, MutationList, JsonType, \ | |
|
63 | JsonRaw | |
|
60 | 64 | from rhodecode.lib.ext_json import json |
|
61 | 65 | from rhodecode.lib.caching_query import FromCache |
|
62 | 66 | from rhodecode.lib.encrypt import AESCipher |
General Comments 0
You need to be logged in to leave comments.
Login now