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

fix(client): fix AttributeError of result property of SquashAndMergeJob #1183

Merged
merged 1 commit into from
Dec 24, 2021

Conversation

graczhual
Copy link
Contributor

@graczhual graczhual commented Dec 24, 2021

No description provided.

@graczhual graczhual requested a review from AChenQ as a code owner December 24, 2021 07:45
@coveralls
Copy link

coveralls commented Dec 24, 2021

Pull Request Test Coverage Report for Build 1618733167

  • 4 of 12 (33.33%) changed or added relevant lines in 3 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.01%) to 85.845%

Changes Missing Coverage Covered Lines Changed/Added Lines %
tensorbay/client/dataset.py 0 1 0.0%
tensorbay/client/job.py 3 6 50.0%
tensorbay/client/version.py 1 5 20.0%
Files with Coverage Reduction New Missed Lines %
tensorbay/client/version.py 1 39.15%
Totals Coverage Status
Change from base Build 1618324132: -0.01%
Covered Lines: 7672
Relevant Lines: 8937

💛 - Coveralls

@graczhual graczhual requested a review from linjiX December 24, 2021 07:46
tensorbay/client/version.py Outdated Show resolved Hide resolved
@graczhual graczhual force-pushed the add_draft_getter branch 4 times, most recently from ede35f3 to b0d14a8 Compare December 24, 2021 09:24
@graczhual graczhual requested a review from linjiX December 24, 2021 09:25
The loaded :class:`SquashAndMergeJob` object.

"""
job = super().from_response_body(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the type of job is Job not SquashAndMergeJob??

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The return type of this function in Job is the type of input cls.

@graczhual graczhual requested a review from linjiX December 24, 2021 10:12
@graczhual graczhual merged commit 82fe0b1 into Graviti-AI:main Dec 24, 2021
@graczhual graczhual deleted the add_draft_getter branch December 24, 2021 13:18
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.

4 participants