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

Supressing NeptuneUnsupportedType warning if expected metadata not found #21

Merged
merged 7 commits into from
Jan 17, 2024

Conversation

SiddhantSadangi
Copy link
Member

No description provided.

@SiddhantSadangi SiddhantSadangi self-assigned this Dec 28, 2023
@SiddhantSadangi SiddhantSadangi added the bug Something isn't working label Dec 28, 2023
CHANGELOG.md Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
Copy link

@szysad szysad left a comment

Choose a reason for hiding this comment

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

Could we add a test that validates that this issue is solved? I can not find any test that validates this. Apart from that LGTM!

src/neptune_sklearn/impl/__init__.py Outdated Show resolved Hide resolved
src/neptune_sklearn/impl/__init__.py Outdated Show resolved Hide resolved
@SiddhantSadangi SiddhantSadangi changed the title Handling NeptuneUnsupportedType error if expected metadata not found Supressing NeptuneUnsupportedType warning if expected metadata not found Jan 15, 2024
@SiddhantSadangi
Copy link
Member Author

@szysad - Added a test

tests/test_e2e.py Outdated Show resolved Hide resolved
tests/test_e2e.py Outdated Show resolved Hide resolved
@AleksanderWWW
Copy link
Contributor

@SiddhantSadangi just thinking - shouldn't we issue a warning that a certain chart couldn't be logged, because it was None? So that the users are not surprised when they don't find the metadata they expected in the run. What do you think?

tests/test_e2e.py Outdated Show resolved Hide resolved
@SiddhantSadangi
Copy link
Member Author

@SiddhantSadangi just thinking - shouldn't we issue a warning that a certain chart couldn't be logged, because it was None? So that the users are not surprised when they don't find the metadata they expected in the run. What do you think?

@AleksanderWWW - that's already handled in the code:

print("Did not log learning curve chart. Error: {}".format(e))

@SiddhantSadangi SiddhantSadangi merged commit 0a96ba1 into master Jan 17, 2024
5 checks passed
@SiddhantSadangi SiddhantSadangi deleted the ss/handle_NeptuneUnsupportedType_error branch January 17, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants