diff options
author | denvr <denvr@yandex-team.com> | 2023-11-22 19:59:12 +0300 |
---|---|---|
committer | denvr <denvr@yandex-team.com> | 2023-11-22 23:23:38 +0300 |
commit | 20c5a588aa9c8e1e8365cc5aad5961c537e88ffe (patch) | |
tree | 6845c6fabf46fb91087aae059bdfbd650fa8dba3 | |
parent | 64fecd02b07c35c13008e2c653423e4f0a28d053 (diff) | |
download | ydb-20c5a588aa9c8e1e8365cc5aad5961c537e88ffe.tar.gz |
YT-20442 - retries for cross cell copy
-rw-r--r-- | yt/python/yt/common.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/yt/python/yt/common.py b/yt/python/yt/common.py index b2ee8fb8db..5a3d3e201b 100644 --- a/yt/python/yt/common.py +++ b/yt/python/yt/common.py @@ -351,6 +351,10 @@ class YtError(Exception): """Member is already present in group""" return self.contains_code(908) + def is_prohibited_cross_cell_copy(self): + """Cross-cell "copy"/"move" command is explicitly disabled""" + return self.contains_code(1002) + class YtResponseError(YtError): """Represents an error in YT response.""" |