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

include filter rules #712

Merged
merged 3 commits into from
Mar 29, 2023
Merged

include filter rules #712

merged 3 commits into from
Mar 29, 2023

Conversation

aaschaer
Copy link
Contributor

@aaschaer aaschaer commented Mar 22, 2023

For https://app.shortcut.com/globus/story/22583/cli-add-support-for-include-filter-rules

Actual code change is just updating a Literal, but with a big chunk of doc to explain the new behavior. Opening as a draft as transfer has not yet released.


📚 Documentation preview 📚: https://globus-sdk-python--712.org.readthedocs.build/en/712/

@@ -21,4 +21,4 @@
tdata.add_filter_rule("*.tgz", type="file")
# bad values rejected (Literal)
tdata.add_filter_rule("*.tgz", type="files") # type: ignore[arg-type]
tdata.add_filter_rule("*.tgz", method="include") # type: ignore[arg-type]
tdata.add_filter_rule("*.tgz", method="unclude") # type: ignore[arg-type]
Copy link
Member

Choose a reason for hiding this comment

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

Somehow, this change brings me a great deal of joy.
I know it's just picking some other invalid name, but I can't help but imagine a service supporting "unclude", whatever that means. 😂

@aaschaer aaschaer marked this pull request as ready for review March 29, 2023 20:30
@aaschaer
Copy link
Contributor Author

Transfer support for this was released this morning, I'm looking into the Read the Docs build failure

aaschaer and others added 2 commits March 29, 2023 16:05
Co-authored-by: Kurt McKee <contactme@kurtmckee.org>
@aaschaer aaschaer merged commit 5418b18 into main Mar 29, 2023
@aaschaer aaschaer deleted the aaron/include branch March 29, 2023 21:22
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