Skip to content

Commit

Permalink
add meta class to schemas (#95)
Browse files Browse the repository at this point in the history
Signed-off-by: Allison Suarez Miranda <asuarezmiranda@lyft.com>
  • Loading branch information
allisonsuarez authored Feb 26, 2021
1 parent d87597a commit a954f1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions amundsen_common/models/lineage.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ class LineageItem:


class LineageItemSchema(AttrsSchema):
target = LineageItem
register_as_scheme = True
class Meta:
target = LineageItem
register_as_scheme = True


@attr.s(auto_attribs=True, kw_only=True)
Expand All @@ -33,5 +34,6 @@ class Lineage:


class LineageSchema(AttrsSchema):
target = Lineage
register_as_scheme = True
class Meta:
target = Lineage
register_as_scheme = True
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from setuptools import find_packages, setup

__version__ = '0.8.0'
__version__ = '0.8.1'

setup(
name='amundsen-common',
Expand Down

0 comments on commit a954f1b

Please sign in to comment.