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
Issue analysis:
This issue is very limited to Service definition being creation. In the call to create service definition, we are updating table out of session scope. The sessionmaker for DB has autocommit=false. So there need to be explicit commit. There is another call to add service_definition and commit which will eventually commit. So we may land into this issue.
Ideal fix will be to use all update/add in session scope.
As this call is done by installer only as of now and the changes are involved too. So IMO, these changes can be done later. @skdwriting@joseph-v@wisererik please suggest
Calling API endpoint immediately after first call results in SQLAlchemy session error response
Is this a BUG REPORT or FEATURE REQUEST?:
What happened:
Error response
What you expected to happen:
We should be able to call API endpoint immediately
The text was updated successfully, but these errors were encountered: