]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Inline _get_bind_args method.
authoroleg <giulfjmnfyhj@rambler.ru>
Tue, 5 Mar 2024 13:18:36 +0000 (08:18 -0500)
committersqla-tester <sqla-tester@sqlalchemy.org>
Tue, 5 Mar 2024 13:18:36 +0000 (08:18 -0500)
commit770b779ba4cbb1b890ba020b7e3d8f6bfab5e861
treeaa8e6b164219efc1f2238bcd6d798f08e5ae2b22
parentb5e8c80f24c326e8491d1db6c5b32dcf730b53b4
Inline _get_bind_args method.

<!-- Provide a general summary of your proposed changes in the Title field above -->

### Description
_get_bind_args is strange method in query module. It is called only in one place. It takes self(but don't use it) and two args with Any type. I think it must be static method with typehints if it will has more use cases in the future. But now removing is more simple solution.

### Checklist

This pull request is:

- [x] A short code fix

**Have a nice day!**

Closes: #11098
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/11098
Pull-request-sha: dc997911a68e455419080a782778c56eceaa76f5

Change-Id: I53b960b3f2864a2db24ffa0058ab0569a721b11a
lib/sqlalchemy/orm/query.py