Skip to content

Commit

Permalink
Pin sqlalchemy version < 1.4 (#13)
Browse files Browse the repository at this point in the history
* make __all__ include only RDSModel

Signed-off-by: xuans <[email protected]>

* pin sqlalchemy version < 1.4

Signed-off-by: xuans <[email protected]>
  • Loading branch information
xuan616 authored Apr 7, 2021
1 parent c4db178 commit 589be11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
15 changes: 2 additions & 13 deletions amundsen_rds/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright Contributors to the Amundsen project.
# SPDX-License-Identifier: Apache-2.0

from typing import Union

from amundsen_rds.models.application import Application, ApplicationTable
Expand Down Expand Up @@ -39,16 +40,4 @@
TableUsage, TableWatermark, Tag, UpdatedTimestamp,
User]

__all__ = [
'Application', 'ApplicationTable', 'Badge', 'Cluster',
'TableColumn', 'ColumnBadge', 'ColumnDescription', 'ColumnStat',
'Dashboard', 'DashboardBadge', 'DashboardChart', 'DashboardCluster',
'DashboardDescription', 'DashboardExecution', 'DashboardFollower', 'DashboardGroup',
'DashboardGroupDescription', 'DashboardOwner', 'DashboardQuery', 'DashboardTable',
'DashboardTag', 'DashboardTimestamp', 'DashboardUsage', 'Database',
'Schema', 'SchemaDescription', 'SchemaProgrammaticDescription', 'Table',
'TableBadge', 'TableDescription', 'TableFollower', 'TableOwner',
'TableProgrammaticDescription', 'TableSource', 'TableTag', 'TableTimestamp',
'TableUsage', 'TableWatermark', 'Tag', 'UpdatedTimestamp',
'User', 'RDSModel'
]
__all__ = ['RDSModel']
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
flake8==3.5.0
isort==4.3.21
mypy==0.782
sqlalchemy>=1.3.0,<2.0
sqlalchemy>=1.3.0,<1.4
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

from setuptools import find_packages, setup

__version__ = '0.0.3'
__version__ = '0.0.4'


requirements = [
'sqlalchemy>=1.3.0,<2.0'
'sqlalchemy>=1.3.0,<1.4'
]

setup(
Expand Down

0 comments on commit 589be11

Please sign in to comment.