Skip to content

fix: context close on Create/Update/Delete operations#2038

Merged
eakmanrq merged 3 commits intomainfrom
eakmanrq/cli_context_close
Jan 30, 2024
Merged

fix: context close on Create/Update/Delete operations#2038
eakmanrq merged 3 commits intomainfrom
eakmanrq/cli_context_close

Conversation

@eakmanrq
Copy link
Collaborator

Part of the fix for this issue: #2037

It makes sense that we close connections when using CLI prior to exiting. Open question about how we would mimic this in environments with long-running python instances (Notebook/UI) but fixing in CLI for now.

@eakmanrq eakmanrq requested a review from a team January 29, 2024 01:02
@eakmanrq eakmanrq changed the title fix: context close on crud operations fix: context close on Create/Update/Delete operations Jan 29, 2024
Copy link
Collaborator

@izeigerman izeigerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Show we do this in the except block?

@tobymao
Copy link
Contributor

tobymao commented Jan 29, 2024

or finally?

@izeigerman
Copy link
Collaborator

yes, thanks, @tobymao , that's what I meant

@eakmanrq eakmanrq force-pushed the eakmanrq/cli_context_close branch from 9fa1cf0 to d5e5d79 Compare January 29, 2024 23:53
@izeigerman izeigerman force-pushed the eakmanrq/cli_context_close branch from 8da453e to 6bfca9e Compare January 30, 2024 00:33
@eakmanrq eakmanrq merged commit 4ee6821 into main Jan 30, 2024
@eakmanrq eakmanrq deleted the eakmanrq/cli_context_close branch January 30, 2024 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants