We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ce76d06 + 3993aea commit be046e1Copy full SHA for be046e1
ydb/import_client.py
@@ -33,7 +33,10 @@ class ImportProgress(enum.IntEnum):
33
34
def _initialize_progresses():
35
for key, value in ydb_import_pb2.ImportProgress.Progress.items():
36
- _progresses[value] = getattr(ImportProgress, key[len("PROGRESS_") :])
+ try:
37
+ _progresses[value] = getattr(ImportProgress, key[len("PROGRESS_") :])
38
+ except Exception:
39
+ pass
40
41
42
_initialize_progresses()
0 commit comments