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

Double check a non-empty but not None value was provided to jsoc notify #7342

Merged
merged 3 commits into from Jan 4, 2024

Conversation

nabobalis
Copy link
Contributor

@nabobalis nabobalis commented Dec 8, 2023

This catches me out when running examples sometimes, as if you do not index the os.environ dict but use .get, you get a default value. I guess the answer is to fix the example but either way, we should catch this.

@nabobalis nabobalis added net Affects the net submodule No Backport A PR that isn't to be backported to any release branch. (To be used as a flag to other maintainers) labels Dec 8, 2023
@nabobalis nabobalis marked this pull request as ready for review December 27, 2023 23:48
@nabobalis nabobalis requested a review from a team as a code owner December 27, 2023 23:48
sunpy/net/jsoc/attrs.py Outdated Show resolved Hide resolved
Copy link
Member

@dstansby dstansby left a comment

Choose a reason for hiding this comment

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

👍 , with a suggestion and question.

sunpy/net/jsoc/attrs.py Outdated Show resolved Hide resolved
changelog/7342.trivial.rst Outdated Show resolved Hide resolved
Copy link
Member

@dstansby dstansby left a comment

Choose a reason for hiding this comment

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

Woops, that was meant to be an approval...

@nabobalis nabobalis changed the title Double check a value was provided to jsoc notify Double check a non-empty but not None value was provided to jsoc notify Jan 4, 2024
Co-authored-by: David Stansby <dstansby@gmail.com>
@nabobalis nabobalis merged commit 235792b into sunpy:main Jan 4, 2024
25 of 26 checks passed
@nabobalis nabobalis deleted the jsoc_email branch January 4, 2024 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
net Affects the net submodule No Backport A PR that isn't to be backported to any release branch. (To be used as a flag to other maintainers)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants