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

Default nb task resolver msg #2889

Merged
merged 3 commits into from
Nov 1, 2024
Merged

Conversation

cosmicBboy
Copy link
Contributor

Why are the changes needed?

It's useful to the know the unpickled object and its type when loading the task with the default notebook task resolver. This just eases the debugging experience.

What changes were proposed in this pull request?

Updates the error message when the unpickled file is of the unexpected type.

Copy link
Collaborator

@eapolinario eapolinario left a comment

Choose a reason for hiding this comment

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

Can we move the printing of loaded_data to the end of the string? I'm concerned about objects that don't have a well-behaving string representation making this error difficult to read.

Signed-off-by: Niels Bantilan <[email protected]>
@thomasjpfan thomasjpfan merged commit 804dae1 into master Nov 1, 2024
102 checks passed
@cosmicBboy cosmicBboy deleted the default-nb-task-resolver-msg branch November 4, 2024 15:01
kumare3 pushed a commit that referenced this pull request Nov 8, 2024
* add additional info to default notebook task resolver

Signed-off-by: Niels Bantilan <[email protected]>

* add object repr to error message

Signed-off-by: Niels Bantilan <[email protected]>

* update string

Signed-off-by: Niels Bantilan <[email protected]>

---------

Signed-off-by: Niels Bantilan <[email protected]>
katrogan pushed a commit that referenced this pull request Nov 15, 2024
* add additional info to default notebook task resolver

Signed-off-by: Niels Bantilan <[email protected]>

* add object repr to error message

Signed-off-by: Niels Bantilan <[email protected]>

* update string

Signed-off-by: Niels Bantilan <[email protected]>

---------

Signed-off-by: Niels Bantilan <[email protected]>
Signed-off-by: Katrina Rogan <[email protected]>
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.

3 participants