mirror of
https://github.com/neondatabase/neon.git
synced 2026-07-06 21:50:37 +00:00
An attempt 4
This commit is contained in:
@@ -522,6 +522,7 @@ class NeonProject:
|
||||
new_branch = NeonBranch(
|
||||
self, self.neon_api.get_branch_details(self.id, new_branch_def["branch"]["id"])
|
||||
)
|
||||
new_branch.start_benchmark()
|
||||
if new_branch.connection_parameters is None:
|
||||
raise RuntimeError(f"Neon branch {new_branch.id} does not have connection parameters {new_branch.endpoints}")
|
||||
with psycopg2.connect(
|
||||
|
||||
Reference in New Issue
Block a user