cp_mgmt_api_python_sdk
cp_mgmt_api_python_sdk copied to clipboard
Option to discard pending changes on exception
Currently when using APIClient as context manager and an exception is raised, the session is closed but stays in the session list containing all changes and locks.
I would like to have a variant, where all pending changes made in the APIClient session are automatically discarded, when an exception occurs.
Hi @egroeper, Thank you for suggesting this, we will take a look into a valid solution and update you Regards, Eden Brillant