Skip to content

Commit

Permalink
chore: clean up unused badge and deprecated models (#76)
Browse files Browse the repository at this point in the history
* chore: clean up unused badge and deprecated models

Signed-off-by: feng-tao <fengtao04@gmail.com>

* chore: update

Signed-off-by: feng-tao <fengtao04@gmail.com>
  • Loading branch information
feng-tao authored Oct 16, 2020
1 parent 32e317c commit 62291d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Amundsen Common
[![PyPI version](https://badge.fury.io/py/amundsen-common.svg)](https://badge.fury.io/py/amundsen-common)
[![Build Status](https://api.travis-ci.org/lyft/amundsencommon.svg?branch=master)](https://travis-ci.org/lyft/amundsencommon)
[![Coverage Status](https://img.shields.io/codecov/c/github/lyft/amundsencommon/master.svg)](https://codecov.io/github/lyft/amundsencommon?branch=master)
[![License](http://img.shields.io/:license-Apache%202-blue.svg)](LICENSE)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)
[![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://amundsenworkspace.slack.com/join/shared_invite/enQtNTk2ODQ1NDU1NDI0LTc3MzQyZmM0ZGFjNzg5MzY1MzJlZTg4YjQ4YTU0ZmMxYWU2MmVlMzhhY2MzMTc1MDg0MzRjNTA4MzRkMGE0Nzk)
Expand Down
20 changes: 0 additions & 20 deletions amundsen_common/models/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,26 +59,6 @@ class Meta:
register_as_scheme = True


@attr.s(auto_attribs=True, kw_only=True)
class Statistics:
"""
DEPRECATED. Use Stat
"""
stat_type: str
stat_val: Optional[str] = None
start_epoch: Optional[int] = None
end_epoch: Optional[int] = None


class StatisticsSchema(AttrsSchema):
"""
DEPRECATED. Use StatSchema
"""
class Meta:
target = Statistics
register_as_scheme = True


@attr.s(auto_attribs=True, kw_only=True)
class Stat:
stat_type: str
Expand Down

0 comments on commit 62291d8

Please sign in to comment.