Skip to content

Fix code inspection in PyCharm when using static methods #456

Description

@cztomczak

For example the cef.WindowUtils methods are declared with @staticmethod and when calling these in Python you get errors in PyCharm saying that parameter self is unfilled. To resolve this issue it is required to use @classmethod instead and put cls as first paramter. This is already fixed in cef.CookieManager and works fine.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions