Skip to content

Commit

Permalink
bump: amundsencommon and switch to marshmallow3-annotations (#286)
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitriy Kunitskiy <[email protected]>
  • Loading branch information
Dmitriy Kunitskiy authored Mar 24, 2021
1 parent ee0ac63 commit 2336439
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ venv3/
.coverage
.mypy_cache
.pytest_cache
.python-version
**/coverage.xml
**/htmlcov/**

2 changes: 1 addition & 1 deletion metadata_service/entity/badge.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

import attr
from marshmallow_annotations.ext.attrs import AttrsSchema
from marshmallow3_annotations.ext.attrs import AttrsSchema


@attr.s(auto_attribs=True, kw_only=True)
Expand Down
2 changes: 1 addition & 1 deletion metadata_service/entity/dashboard_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from amundsen_common.models.popular_table import PopularTable
from amundsen_common.models.table import Badge, Tag
from amundsen_common.models.user import User
from marshmallow_annotations.ext.attrs import AttrsSchema
from marshmallow3_annotations.ext.attrs import AttrsSchema

from metadata_service.entity.dashboard_query import DashboardQuery

Expand Down
2 changes: 1 addition & 1 deletion metadata_service/entity/dashboard_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from typing import Optional

import attr
from marshmallow_annotations.ext.attrs import AttrsSchema
from marshmallow3_annotations.ext.attrs import AttrsSchema


@attr.s(auto_attribs=True, kw_only=True)
Expand Down
2 changes: 1 addition & 1 deletion metadata_service/entity/dashboard_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import attr
from amundsen_common.models.dashboard import DashboardSummary as Summary
from marshmallow_annotations.ext.attrs import AttrsSchema
from marshmallow3_annotations.ext.attrs import AttrsSchema


@attr.s(auto_attribs=True, kw_only=True)
Expand Down
2 changes: 1 addition & 1 deletion metadata_service/entity/description.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

import attr
from marshmallow_annotations.ext.attrs import AttrsSchema
from marshmallow3_annotations.ext.attrs import AttrsSchema


@attr.s(auto_attribs=True, kw_only=True)
Expand Down
2 changes: 1 addition & 1 deletion metadata_service/entity/tag_detail.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0

import attr
from marshmallow_annotations.ext.attrs import AttrsSchema
from marshmallow3_annotations.ext.attrs import AttrsSchema


@attr.s(auto_attribs=True, kw_only=True)
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ typing-extensions==3.7.4

# A common package that holds the models deifnition and schemas that are used
# accross different amundsen repositories.
amundsen-common>=0.8.1
amundsen-common>=0.9.0
amundsen-gremlin>=0.0.7

boto3==1.17.23
Expand Down Expand Up @@ -66,4 +66,4 @@ overrides==2.5
typed-ast==1.4.2
isort[colors]~=5.4
marshmallow>=3.0,<=3.6
marshmallow-annotations@git+https://www.github.com/hilearn/marshmallow-annotations.git@a7a2dc96932430369bdef36555082df990ed9bef
marshmallow3-annotations>=1.0.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from setuptools import find_packages, setup

__version__ = '3.3.0'
__version__ = '3.4.0'


requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements.txt')
Expand Down

0 comments on commit 2336439

Please sign in to comment.