diff options
| author | robot-piglet <[email protected]> | 2026-02-12 18:21:16 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2026-02-12 18:46:45 +0300 |
| commit | a2015306491ba027ec251ec512373e9f79ab5cc5 (patch) | |
| tree | 5ccf4fbcd2d9c70fe6b197220c52624ea3b24d00 /yt/python | |
| parent | 8a3744491c12d828238bc749cb292b813d6b6240 (diff) | |
Intermediate changes
commit_hash:85e760252214b1ca708262b5c25938b017aa07b4
Diffstat (limited to 'yt/python')
| -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 a93042acbfa..2ecad5d8086 100644 --- a/yt/python/yt/common.py +++ b/yt/python/yt/common.py @@ -342,6 +342,10 @@ class YtError(Exception): """Tablet is not mounted.""" return self.contains_code(1702) + def is_all_writes_disabled(self): + """All writes are disabled.""" + return self.contains_code(1703) + def is_no_such_cell(self): """No such cell.""" return self.contains_code(1721) |
