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

More helpful error for missing self#14386

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
hauntsaninja merged 3 commits intopython:masterfromhauntsaninja:self-error
Jan 3, 2023

Conversation

@hauntsaninja
Copy link
Collaborator

Fixes#14385

Copy link
Member

@AlexWaygoodAlexWaygood left a comment

Choose a reason for hiding this comment

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

Nice idea!

@github-actions
Copy link
Contributor

Diff frommypy_primer, showing the effect of this PR on open source code:

prefect (https://github.com/PrefectHQ/prefect)- src/prefect/orion/orchestration/global_policy.py:45: error: Method must have at least one argument  [misc]+ src/prefect/orion/orchestration/global_policy.py:45: error: Method must have at least one argument. Did you forget the "self" argument?  [misc]- src/prefect/orion/orchestration/global_policy.py:62: error: Method must have at least one argument  [misc]+ src/prefect/orion/orchestration/global_policy.py:62: error: Method must have at least one argument. Did you forget the "self" argument?  [misc]- src/prefect/orion/orchestration/core_policy.py:41: error: Method must have at least one argument  [misc]+ src/prefect/orion/orchestration/core_policy.py:41: error: Method must have at least one argument. Did you forget the "self" argument?  [misc]- src/prefect/orion/orchestration/core_policy.py:58: error: Method must have at least one argument  [misc]+ src/prefect/orion/orchestration/core_policy.py:58: error: Method must have at least one argument. Did you forget the "self" argument?  [misc]- src/prefect/orion/orchestration/core_policy.py:76: error: Method must have at least one argument  [misc]+ src/prefect/orion/orchestration/core_policy.py:76: error: Method must have at least one argument. Did you forget the "self" argument?  [misc]- src/prefect/orion/orchestration/core_policy.py:81: error: Method must have at least one argument  [misc]+ src/prefect/orion/orchestration/core_policy.py:81: error: Method must have at least one argument. Did you forget the "self" argument?  [misc]

@hauntsaninjahauntsaninja merged commit2413578 intopython:masterJan 3, 2023
@hauntsaninjahauntsaninja deleted the self-error branchJanuary 3, 2023 22:45
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@JelleZijlstraJelleZijlstraJelleZijlstra approved these changes

+1 more reviewer

@AlexWaygoodAlexWaygoodAlexWaygood approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Method must have at least one argument [misc]

3 participants

@hauntsaninja@JelleZijlstra@AlexWaygood

[8]ページ先頭

©2009-2025 Movatter.jp