Skip to content

Commit d091436

Browse files
committed
style fixes
1 parent c82caf0 commit d091436

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

tests/query/test_query_parameters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def test_select_typedvalue_implicit_primitive(pool: ydb.QuerySessionPool):
136136
actual_value = res[0].rows[0]["value"]
137137
assert expected_value == actual_value
138138

139+
139140
def test_select_typevalue_custom_type_raises(pool: ydb.QuerySessionPool):
140141
class CustomClass:
141142
pass

ydb/convert.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,7 @@ def _primitive_type_from_python_native(value):
337337
return types.DictType(key_type, value_type)
338338

339339
raise ValueError(
340-
"Could not map value to any type, please specify "
341-
"it manually by tuple(value, type) or ydb.TypedValue"
340+
"Could not map value to any type, please specify it manually by tuple(value, type) or ydb.TypedValue"
342341
)
343342

344343

ydb/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ def proto(self):
443443
def __str__(self):
444444
return "BulkUpsertColumns<%s>" % ",".join(self.__columns_repr)
445445

446+
446447
@dataclass
447448
class TypedValue:
448449
value: typing.Any

0 commit comments

Comments
 (0)