Skip to content

Commit e2e2a3a

Browse files
committed
Fix is_view, is_resource_pool for SchemeEntryType
1 parent 92b60c2 commit e2e2a3a

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* Fix is_view, is_resource_pool for SchemeEntryType
2+
13
## 3.21.9 ##
24
* Add method explain for explain query to QuerySession and QuerySessionPool classes
35

@@ -86,7 +88,7 @@
8688
* Fix attach session timeouts
8789

8890
## 3.18.8 ##
89-
* Refactor aio tableclient destructor
91+
* Refactor aio tableclient destructor
9092

9193
## 3.18.7 ##
9294
* Add an ability to pass custom event loop to QuerySessionPool
@@ -99,9 +101,9 @@
99101

100102
## 3.18.4 ##
101103
* Fix table_client desctructor
102-
104+
103105
## 3.18.3 ##
104-
* Hide session management for table client methods
106+
* Hide session management for table client methods
105107
* Add build method to QueryOnlineReadOnly mode
106108

107109
## 3.18.2 ##

ydb/scheme.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@ def is_external_data_source(entry):
124124
return entry == SchemeEntryType.EXTERNAL_DATA_SOURCE
125125

126126
@staticmethod
127-
def is_external_view(entry):
127+
def is_view(entry):
128128
"""
129129
:param entry: A scheme entry to check
130130
:return: True if scheme entry is a view and False otherwise
131131
"""
132132
return entry == SchemeEntryType.VIEW
133133

134134
@staticmethod
135-
def is_external_resource_pool(entry):
135+
def is_resource_pool(entry):
136136
"""
137137
:param entry: A scheme entry to check
138138
:return: True if scheme entry is a resource pool and False otherwise

0 commit comments

Comments
 (0)