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

Fixed a crash bug in MLFlow logger #4716

Merged
merged 9 commits into from
Nov 24, 2020
Merged

Fixed a crash bug in MLFlow logger #4716

merged 9 commits into from
Nov 24, 2020

Conversation

pgagarinov
Copy link
Contributor

What does this PR do?

On line 159 of loggers/mlflow.py warnings.warn there was a typo - warn doesn't accept tuples which causes "TypeError: expected string or bytes-like object" when the execution flow gets to this warning. Fixed that.

…d string or bytes-like object" when the execution flow gets to this warning. Fixed that.
@codecov
Copy link

codecov bot commented Nov 17, 2020

Codecov Report

Merging #4716 (48e1159) into master (471ca37) will decrease coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master   #4716   +/-   ##
======================================
- Coverage      93%     93%   -0%     
======================================
  Files         118     118           
  Lines        9032    9031    -1     
======================================
- Hits         8404    8403    -1     
  Misses        628     628           

@Borda Borda added bug Something isn't working logger Related to the Loggers labels Nov 17, 2020
Copy link
Member

@Borda Borda left a comment

Choose a reason for hiding this comment

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

@pgagarinov can we add a test for this case?

@edenlightning edenlightning added the 3rd party Related to a 3rd-party label Nov 18, 2020
@Borda Borda added the waiting on author Waiting on user action, correction, or update label Nov 20, 2020
@rohitgr7 rohitgr7 removed the waiting on author Waiting on user action, correction, or update label Nov 21, 2020
@rohitgr7 rohitgr7 added this to the 1.0.x milestone Nov 21, 2020
@rohitgr7 rohitgr7 requested a review from Borda November 21, 2020 14:26
@rohitgr7 rohitgr7 added the ready PRs ready to be merged label Nov 21, 2020
@ananyahjha93 ananyahjha93 merged commit 70361eb into Lightning-AI:master Nov 24, 2020
Borda pushed a commit that referenced this pull request Nov 24, 2020
* warnings.warn doesn't accept tuples, which causes "TypeError: expected string or bytes-like object" when the execution flow gets to this warning. Fixed that.

* Try adding a mock test

* Try adding a mock test

Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
Co-authored-by: chaton <thomas@grid.ai>
(cherry picked from commit 70361eb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd party Related to a 3rd-party bug Something isn't working logger Related to the Loggers ready PRs ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants