Skip to content

Allow bool or string for relationship(passive_deletes=...) arg #143

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

Merged
merged 1 commit into from
Jan 8, 2021
Merged

Allow bool or string for relationship(passive_deletes=...) arg #143

merged 1 commit into from
Jan 8, 2021

Conversation

wbolster
Copy link
Contributor

@wbolster wbolster commented Mar 2, 2020

The relationship(passive_deletes=...) can be either a boolean or a string:

https://docs.sqlalchemy.org/en/13/orm/relationship_api.html#sqlalchemy.orm.relationship.params.passive_deletes

@wbolster
Copy link
Contributor Author

any reason this tiny change cannot be merged as-is?

Copy link
Contributor

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

@JukkaL JukkaL merged commit 1ccefb8 into dropbox:master Jan 8, 2021
@wbolster wbolster deleted the patch-1 branch January 8, 2021 14:15
brabadu pushed a commit to brabadu/sqlalchemy-stubs that referenced this pull request Jan 15, 2021
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.

2 participants