Skip to content

Remove the compatibility shim from create_policy - #1257

Merged
sirosen merged 2 commits into
globus:4.x-devfrom
sirosen:remove-compat-shim
Jul 14, 2025
Merged

Remove the compatibility shim from create_policy#1257
sirosen merged 2 commits into
globus:4.x-devfrom
sirosen:remove-compat-shim

Conversation

@sirosen

@sirosen sirosen commented Jul 14, 2025

Copy link
Copy Markdown
Member

@sirosen
sirosen requested a review from aaschaer as a code owner July 14, 2025 17:54
@sirosen sirosen added the no-news-is-good-news This change does not require a news file label Jul 14, 2025
@sirosen sirosen added the no-news-is-good-news This change does not require a news file label Jul 14, 2025
return GetPoliciesResponse(self.get("/v2/api/policies"))

@_create_policy_compat
def create_policy( # pylint: disable=missing-param-doc

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is there any chance that removing the shim means that the pylint disable comment can be removed as well? Or is that pylint issue unrelated?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I missed that; not only is it not needed, I don't think it was needed before this change either!

Documentation order now matches declaration order.
@sirosen
sirosen merged commit cf1a867 into globus:4.x-dev Jul 14, 2025
7 checks passed
@sirosen
sirosen deleted the remove-compat-shim branch July 14, 2025 18:42
@sirosen sirosen mentioned this pull request Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-news-is-good-news This change does not require a news file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants