cp_mgmt_api_python_sdk icon indicating copy to clipboard operation
cp_mgmt_api_python_sdk copied to clipboard

Option to discard pending changes on exception

Open egroeper opened this issue 9 months ago • 1 comments

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.

egroeper avatar May 13 '24 07:05 egroeper

Hi @egroeper, Thank you for suggesting this, we will take a look into a valid solution and update you Regards, Eden Brillant

chkp-edenbr avatar May 15 '24 09:05 chkp-edenbr