Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: add a UserWarning if bothiterator=True andpage=X are used#2462

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nejch merged 1 commit intomainfromjlvillal/warn_incompatible
Jan 26, 2023

Conversation

@JohnVillalovos
Copy link
Member

If a caller calls alist() method with bothiterator=True (oras_list=False) andpage=X then emit aUserWarning as the options are mutually exclusive.

@JohnVillalovosJohnVillalovos changed the titlechore: add a UserWarning if use bothiteratore=True andpage=Xchore: add a UserWarning if use bothiterator=True andpage=XJan 25, 2023
@nejchnejch changed the titlechore: add a UserWarning if use bothiterator=True andpage=Xchore: add a UserWarning if bothiterator=True andpage=X are usedJan 26, 2023
Copy link
Member

@nejchnejch left a comment

Choose a reason for hiding this comment

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

Thanks@JohnVillalovos just a little typo there!

Hopefully we can removeas_list for a major bump at some point and simplify these checks 😁

JohnVillalovos reacted with thumbs up emoji
If a caller calls a `list()` method with both `iterator=True` (or`as_list=False`) and `page=X` then emit a `UserWarning` as the optionsare mutually exclusive.
@nejchnejch merged commit8e85791 intomainJan 26, 2023
@nejchnejch deleted the jlvillal/warn_incompatible branchJanuary 26, 2023 16:11
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nejchnejchnejch approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@JohnVillalovos@nejch

[8]ページ先頭

©2009-2025 Movatter.jp