Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(utility): remove "loads" and "dumps" from "NameMixin" #738

Merged
merged 1 commit into from
Jun 19, 2021

Conversation

linjiX
Copy link
Contributor

@linjiX linjiX commented Jun 19, 2021

DatasetBase and SegmentBase are subclasses of NameMixin, but they
do not support loads and dumps methods. Remove loads and dumps
from NameMixin to make sure they cannot be called from DatasetBase
and SegmentBase

@coveralls
Copy link

Pull Request Test Coverage Report for Build 952090429

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 84.998%

Totals Coverage Status
Change from base Build 952053973: 0.02%
Covered Lines: 4901
Relevant Lines: 5766

💛 - Coveralls

`DatasetBase` and `SegmentBase` are subclasses of `NameMixin`, but they
do not support `loads` and `dumps` methods. Remove `loads` and `dumps`
from `NameMixin` to make sure they cannot be called from `DatasetBase`
and `SegmentBase`

PR Closed: Graviti-AI#738
@linjiX linjiX merged commit d11b7b3 into Graviti-AI:main Jun 19, 2021
@linjiX linjiX deleted the namemixin_dump_load branch June 19, 2021 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants