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

Improve stubs for contrib.postgres.operations. #1071

Merged
merged 3 commits into from
Jul 24, 2022

Conversation

PIG208
Copy link
Contributor

@PIG208 PIG208 commented Jul 22, 2022

def extension_exists(self, schema_editor: BaseDatabaseSchemaEditor, extension: str) -> bool: ...
def describe(self) -> str: ...
@property
def migration_name_fragment(self) -> str: ...
Copy link
Member

Choose a reason for hiding this comment

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

Looks like this is defined in Operation: https://github.com/django/django/blob/67d0c4644acfd7707be4a31e8976f865509b09ac/django/db/migrations/operations/base.py#L82-L88

Can you please make sure that all parent methods stubs are not redefined?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK. Updated.

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants