From 6c36464f3bedf88f31ffe6790ad5128e4dad5051 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 18 Jan 2024 12:56:15 -0500 Subject: [PATCH] rename --- {neon_client2 => __first_attempt}/__init__.py | 0 {neon_client2 => __first_attempt}/__version__.py | 0 {neon_client2 => __first_attempt}/client.py | 0 {neon_client2 => __first_attempt}/exceptions.py | 0 {neon_client2 => __first_attempt}/http_client.py | 0 {neon_client2 => __first_attempt}/models.py | 0 {neon_client2 => __first_attempt}/resources.py | 0 {neon_client2 => __first_attempt}/simple.py | 0 {neon_client2 => __first_attempt}/utils.py | 0 neon_client/client.py | 7 +++++++ neon_client2/__pycache__/__init__.cpython-311.pyc | Bin 233 -> 0 bytes 11 files changed, 7 insertions(+) rename {neon_client2 => __first_attempt}/__init__.py (100%) rename {neon_client2 => __first_attempt}/__version__.py (100%) rename {neon_client2 => __first_attempt}/client.py (100%) rename {neon_client2 => __first_attempt}/exceptions.py (100%) rename {neon_client2 => __first_attempt}/http_client.py (100%) rename {neon_client2 => __first_attempt}/models.py (100%) rename {neon_client2 => __first_attempt}/resources.py (100%) rename {neon_client2 => __first_attempt}/simple.py (100%) rename {neon_client2 => __first_attempt}/utils.py (100%) delete mode 100644 neon_client2/__pycache__/__init__.cpython-311.pyc diff --git a/neon_client2/__init__.py b/__first_attempt/__init__.py similarity index 100% rename from neon_client2/__init__.py rename to __first_attempt/__init__.py diff --git a/neon_client2/__version__.py b/__first_attempt/__version__.py similarity index 100% rename from neon_client2/__version__.py rename to __first_attempt/__version__.py diff --git a/neon_client2/client.py b/__first_attempt/client.py similarity index 100% rename from neon_client2/client.py rename to __first_attempt/client.py diff --git a/neon_client2/exceptions.py b/__first_attempt/exceptions.py similarity index 100% rename from neon_client2/exceptions.py rename to __first_attempt/exceptions.py diff --git a/neon_client2/http_client.py b/__first_attempt/http_client.py similarity index 100% rename from neon_client2/http_client.py rename to __first_attempt/http_client.py diff --git a/neon_client2/models.py b/__first_attempt/models.py similarity index 100% rename from neon_client2/models.py rename to __first_attempt/models.py diff --git a/neon_client2/resources.py b/__first_attempt/resources.py similarity index 100% rename from neon_client2/resources.py rename to __first_attempt/resources.py diff --git a/neon_client2/simple.py b/__first_attempt/simple.py similarity index 100% rename from neon_client2/simple.py rename to __first_attempt/simple.py diff --git a/neon_client2/utils.py b/__first_attempt/utils.py similarity index 100% rename from neon_client2/utils.py rename to __first_attempt/utils.py diff --git a/neon_client/client.py b/neon_client/client.py index c110f53..2c1f307 100644 --- a/neon_client/client.py +++ b/neon_client/client.py @@ -380,3 +380,10 @@ class NeonAPI: return Operation.get( client=self, project_id=project_id, operation_id=operation_id ) + + def connection_string(self, project_id: str, branch_id: str): + """Get a connection string for a branch.""" + raise NotImplementedError + # return Branch.get_connection_string( + # client=self, project_id=project_id, branch_id=branch_id + # ) diff --git a/neon_client2/__pycache__/__init__.cpython-311.pyc b/neon_client2/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index fc9acc2350b89e0b7b55b12c5322bb76a974e513..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 233 zcmZ3^%ge<81UYhxQx|srh-%Ihm<>C4QPrw>Zm;;*-I=B4(h1l?