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

Deprecated response_format in vso search #7468

Merged
merged 13 commits into from Mar 22, 2024

Conversation

nabobalis
Copy link
Contributor

@nabobalis nabobalis commented Mar 2, 2024

Supersedes: #7364

So during the 2.1 days we added this old response type to prevent some breaking changes from the rework of the metadata and we never got around to removing it.
So I have finally marked it as deprecated alongside some keywords that were unused.

This should not be backported.

@nabobalis nabobalis force-pushed the dep_response_format branch 2 times, most recently from bab74cc to 999f746 Compare March 2, 2024 04:12

@deprecated_renamed_argument("vso_response_format", None,"6.0", warning_type=SunpyDeprecationWarning)
@deprecated_renamed_argument("progress", None,"6.0", warning_type=SunpyDeprecationWarning)
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 other choice is to pass progress down so it works?

Copy link
Member

Choose a reason for hiding this comment

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

Why would we deprecate it in full_query but not here? Maybe I'm missing some context

Copy link
Contributor Author

@nabobalis nabobalis Mar 7, 2024

Choose a reason for hiding this comment

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

I mean more, I could work out how where progress should be passed and then not deprecate it across everything.

But since we never used it, I feel like removing it anyway.

@nabobalis nabobalis marked this pull request as ready for review March 2, 2024 04:12
@nabobalis nabobalis requested a review from a team as a code owner March 2, 2024 04:12
@wtbarnes wtbarnes added Needs Review Needs reviews before merge No Backport A PR that isn't to be backported to any release branch. (To be used as a flag to other maintainers) net Affects the net submodule labels Mar 14, 2024
nabobalis and others added 5 commits March 20, 2024 16:14
Co-authored-by: Will Barnes <will.t.barnes@gmail.com>
Co-authored-by: Will Barnes <will.t.barnes@gmail.com>
Co-authored-by: Will Barnes <will.t.barnes@gmail.com>
changelog/7468.deprecation.rst Outdated Show resolved Hide resolved
changelog/7468.deprecation.rst Outdated Show resolved Hide resolved
Co-authored-by: Alasdair Wilson <60351846+alasdairwilson@users.noreply.github.com>
@nabobalis nabobalis added Merge When CI Passes Hit that merge button when it's all green! and removed Needs Review Needs reviews before merge labels Mar 22, 2024
@nabobalis nabobalis merged commit 27f7e03 into sunpy:main Mar 22, 2024
27 of 28 checks passed
@nabobalis nabobalis deleted the dep_response_format branch March 22, 2024 23:35
@nabobalis
Copy link
Contributor Author

Thanks for the reviews @wtbarnes and @alasdairwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Merge When CI Passes Hit that merge button when it's all green! 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