Skip to content

Commit 2eeb6d3

Browse files
authored
Merge pull request #228 V3 no warn on good global settings
2 parents 350f92f + 4ede48a commit 2eeb6d3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ydb/global_settings.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,12 @@
77
def global_allow_truncated_result(enabled: bool = True):
88
if enabled:
99
warnings.warn("Global allow truncated response is deprecated behaviour.")
10-
else:
11-
warnings.warn(
12-
"Global deny truncated response is default behaviour. You don't need call the function."
13-
)
1410

1511
convert._default_allow_truncated_result = enabled
1612

1713

1814
def global_allow_split_transactions(enabled: bool):
1915
if enabled:
2016
warnings.warn("Global allow truncated response is deprecated behaviour.")
21-
else:
22-
warnings.warn(
23-
"Global deby truncated response is default behaviour. You don't need call the function."
24-
)
2517

2618
table._allow_split_transaction = enabled

0 commit comments

Comments
 (0)