Add new range types to main module imports

This commit is contained in:
Konsta Vesterinen
2014-01-14 16:24:04 +02:00
parent f9c9437845
commit 0073cc50a2
2 changed files with 24 additions and 12 deletions

View File

@@ -27,8 +27,10 @@ from .types import (
Choice,
ChoiceType,
ColorType,
CountryType,
Country,
CountryType,
DateRangeType,
DateTimeRangeType,
EmailType,
instrumented_list,
InstrumentedList,
@@ -36,12 +38,13 @@ from .types import (
IPAddressType,
JSONType,
LocaleType,
NumericRangeType,
Password,
PasswordType,
PhoneNumber,
PhoneNumberType,
ScalarListType,
ScalarListException,
ScalarListType,
TimezoneType,
TSVectorType,
URLType,
@@ -60,20 +63,23 @@ __all__ = (
aggregated,
batch_fetch,
coercion_listener,
create_database,
create_mock_engine,
database_exists,
defer_except,
drop_database,
escape_like,
generates,
generic_relationship,
identity,
instrumented_list,
merge,
mock_engine,
naturally_equivalent,
primary_keys,
proxy_dict,
render_statement,
render_expression,
create_mock_engine,
mock_engine,
render_statement,
sort_query,
table_name,
with_backrefs,
@@ -81,16 +87,19 @@ __all__ = (
Choice,
ChoiceType,
ColorType,
CountryType,
Country,
CountryType,
DateRangeType,
DateTimeRangeType,
EmailType,
ImproperlyConfigured,
InstrumentedList,
IntRangeType,
IPAddressType,
JSONType,
LocaleType,
Merger,
IntRangeType,
NumericRangeType,
Password,
PasswordType,
PhoneNumber,
@@ -102,9 +111,6 @@ __all__ = (
TSVectorType,
URLType,
UUIDType,
database_exists,
create_database,
drop_database,
INT4RANGE,
INT8RANGE,
DATERANGE,

View File

@@ -13,7 +13,10 @@ from .range import (
INT8RANGE,
DATERANGE,
NUMRANGE,
DateRangeType,
DateTimeRangeType,
IntRangeType,
NumericRangeType,
)
from .password import Password, PasswordType
from .phone_number import PhoneNumber, PhoneNumberType
@@ -30,13 +33,16 @@ __all__ = (
Choice,
ChoiceType,
ColorType,
CountryType,
Country,
CountryType,
DateRangeType,
DateTimeRangeType,
EmailType,
IntRangeType,
IPAddressType,
JSONType,
LocaleType,
IntRangeType,
NumericRangeType,
Password,
PasswordType,
PhoneNumber,