Skip to content

Commit 589be11

Browse files
authored
Pin sqlalchemy version < 1.4 (#13)
* make __all__ include only RDSModel Signed-off-by: xuans <xuan_shen@outlook.com> * pin sqlalchemy version < 1.4 Signed-off-by: xuans <xuan_shen@outlook.com>
1 parent c4db178 commit 589be11

3 files changed

Lines changed: 5 additions & 16 deletions

File tree

amundsen_rds/models/__init__.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Copyright Contributors to the Amundsen project.
22
# SPDX-License-Identifier: Apache-2.0
3+
34
from typing import Union
45

56
from amundsen_rds.models.application import Application, ApplicationTable
@@ -39,16 +40,4 @@
3940
TableUsage, TableWatermark, Tag, UpdatedTimestamp,
4041
User]
4142

42-
__all__ = [
43-
'Application', 'ApplicationTable', 'Badge', 'Cluster',
44-
'TableColumn', 'ColumnBadge', 'ColumnDescription', 'ColumnStat',
45-
'Dashboard', 'DashboardBadge', 'DashboardChart', 'DashboardCluster',
46-
'DashboardDescription', 'DashboardExecution', 'DashboardFollower', 'DashboardGroup',
47-
'DashboardGroupDescription', 'DashboardOwner', 'DashboardQuery', 'DashboardTable',
48-
'DashboardTag', 'DashboardTimestamp', 'DashboardUsage', 'Database',
49-
'Schema', 'SchemaDescription', 'SchemaProgrammaticDescription', 'Table',
50-
'TableBadge', 'TableDescription', 'TableFollower', 'TableOwner',
51-
'TableProgrammaticDescription', 'TableSource', 'TableTag', 'TableTimestamp',
52-
'TableUsage', 'TableWatermark', 'Tag', 'UpdatedTimestamp',
53-
'User', 'RDSModel'
54-
]
43+
__all__ = ['RDSModel']

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
flake8==3.5.0
22
isort==4.3.21
33
mypy==0.782
4-
sqlalchemy>=1.3.0,<2.0
4+
sqlalchemy>=1.3.0,<1.4

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
from setuptools import find_packages, setup
55

6-
__version__ = '0.0.3'
6+
__version__ = '0.0.4'
77

88

99
requirements = [
10-
'sqlalchemy>=1.3.0,<2.0'
10+
'sqlalchemy>=1.3.0,<1.4'
1111
]
1212

1313
setup(

0 commit comments

Comments
 (0)