You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is going to be any update to great_expectations.yml it fails
Expected behavior
I expect it to continue just like when the system is not in read only. The code is already set to do it, just need to give it one more additional exception.
Additional context
I have fixed this issue by adding OSError to the exception. inline_store_backend.py
def _save_changes(self) -> None:
context = self._data_context
config_filepath = pathlib.Path(context.root_directory) / context.GX_YML
try:
with open(config_filepath, "w") as outfile:
context.config.to_yaml(outfile)
# In environments where wrting to disk is not allowed, it is impossible to
# save changes. As such, we log a warning but do not raise.
except (PermissionError, OSError) as e:
logger.warning(f"Could not save project config to disk: {e}")
The text was updated successfully, but these errors were encountered:
Describe the bug
When running a MWAA instance when the volume is read only. The current exception only allows permissions errors to continue
To Reproduce
Expected behavior
I expect it to continue just like when the system is not in read only. The code is already set to do it, just need to give it one more additional exception.
Additional context
I have fixed this issue by adding OSError to the exception. inline_store_backend.py
The text was updated successfully, but these errors were encountered: