From 8edf6d326c36950ce586c129b8754e9d27f3636c Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 19 Mar 2025 09:16:03 +0000 Subject: [PATCH] Remove VPC endpoint operations as requested Co-Authored-By: peterbendel@neon.tech --- test_runner/fixtures/neon_api.py | 42 -------------------------------- 1 file changed, 42 deletions(-) diff --git a/test_runner/fixtures/neon_api.py b/test_runner/fixtures/neon_api.py index 7e56513f50..ca8447a1f8 100644 --- a/test_runner/fixtures/neon_api.py +++ b/test_runner/fixtures/neon_api.py @@ -377,48 +377,6 @@ class NeonAPI: return cast("dict[str, Any]", resp.json()) - def set_project_vpc_endpoint(self, project_id: str, vpc_endpoint_id: str) -> dict[str, Any]: - """ - Sets a VPC endpoint for a project. - - Args: - project_id: The Neon project ID - vpc_endpoint_id: The VPC endpoint ID - - Returns: - The API response - """ - resp = self.__request( - "POST", - f"/projects/{project_id}/vpc_endpoints/{vpc_endpoint_id}", - headers={ - "Accept": "application/json", - }, - ) - - return cast("dict[str, Any]", resp.json()) - - def delete_project_vpc_endpoint(self, project_id: str, vpc_endpoint_id: str) -> dict[str, Any]: - """ - Deletes a VPC endpoint from a project. - - Args: - project_id: The Neon project ID - vpc_endpoint_id: The VPC endpoint ID - - Returns: - The API response - """ - resp = self.__request( - "DELETE", - f"/projects/{project_id}/vpc_endpoints/{vpc_endpoint_id}", - headers={ - "Accept": "application/json", - }, - ) - - return cast("dict[str, Any]", resp.json()) - def create_branch( self, project_id: str,