Add get_columns to functions module main import

This commit is contained in:
Konsta Vesterinen
2014-04-21 11:13:07 +03:00
parent 02c60f1d28
commit c17d72841f
2 changed files with 3 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ from .database import (
) )
from .orm import ( from .orm import (
declarative_base, declarative_base,
get_columns,
getdotattr, getdotattr,
has_changes, has_changes,
identity, identity,
@@ -30,6 +31,7 @@ __all__ = (
'defer_except', 'defer_except',
'drop_database', 'drop_database',
'escape_like', 'escape_like',
'get_columns',
'getdotattr', 'getdotattr',
'has_changes', 'has_changes',
'identity', 'identity',

View File

@@ -1,5 +1,5 @@
import sqlalchemy as sa import sqlalchemy as sa
from sqlalchemy_utils.functions.orm import get_columns from sqlalchemy_utils.functions import get_columns
from tests import TestCase from tests import TestCase