Skip to content

Commit 35ad6d4

Browse files
committed
fix style
1 parent 3659394 commit 35ad6d4

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.10.0 ##
2+
3+
* fixed double quoting issue in sqlalchemy
4+
15
## 2.9.0 ##
26

37
* fixed minor issue in SDK imports for Python 2.

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setuptools.setup(
88
name="ydb",
9-
version="2.9.0",
9+
version="2.10.0",
1010
description="YDB Python SDK",
1111
author="Yandex LLC",
1212
author_email="[email protected]",

Diff for: ydb/sqlalchemy/__init__.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@ def __init__(self, dialect):
3636
final_quote="`",
3737
)
3838

39-
def _requires_quotes(self, *args, **kwargs):
39+
def _requires_quotes(self, value):
4040
# Force all identifiers to get quoted unless already quoted.
41-
return not (value.startswith(self.initial_quote) and value.endswith(self.final_quote))
41+
return not (
42+
value.startswith(self.initial_quote)
43+
and value.endswith(self.final_quote)
44+
)
4245

4346
class YqlTypeCompiler(GenericTypeCompiler):
4447
def visit_VARCHAR(self, type_, **kw):

Diff for: ydb/ydb_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "2.9.0"
1+
VERSION = "2.10.0"

0 commit comments

Comments
 (0)