We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9d28ea commit 3decd93Copy full SHA for 3decd93
ydb/import_client.py
@@ -29,12 +29,14 @@ class ImportProgress(enum.IntEnum):
29
DONE = 4
30
CANCELLATION = 5
31
CANCELLED = 6
32
- CREATE_CHANGEFEEDS = 7
33
34
35
def _initialize_progresses():
36
for key, value in ydb_import_pb2.ImportProgress.Progress.items():
37
- _progresses[value] = getattr(ImportProgress, key[len("PROGRESS_") :])
+ try:
+ _progresses[value] = getattr(ImportProgress, key[len("PROGRESS_") :])
38
+ except AttributeError:
39
+ pass
40
41
42
_initialize_progresses()
0 commit comments