176 Commits

Author SHA1 Message Date
kennethreitz bc3e034925 Update pipenv install command 2024-01-25 09:42:18 -05:00
kennethreitz 60ff502865 Add pipenv installation and dependency installation step 2024-01-25 09:41:31 -05:00
kennethreitz abc86db155 Update pytest workflow to use make test 2024-01-25 09:36:29 -05:00
kennethreitz 4c2fc905b6 Fix spacing issue in test_integration.py 2024-01-25 09:30:36 -05:00
kennethreitz 5a48fe3684 Update pytest.yml with new Python versions 2024-01-25 09:30:23 -05:00
kennethreitz b192b8cf81 Update test_integration.py and client.py 2024-01-25 09:27:31 -05:00
kennethreitz 611b601d78 Update test_integration.py with new tests 2024-01-24 08:56:08 -05:00
kennethreitz 92fa584e36 Update timestamps and names in tests 2024-01-23 17:35:55 -05:00
kennethreitz 53fe0aa087 Update dependencies in Pipfile and Pipfile.lock 2024-01-23 17:19:01 -05:00
kennethreitz 9ff73e9f56 Update .gitignore and Makefile, add pytest-ordering to Pipfile 2024-01-23 17:18:25 -05:00
kennethreitz d8c9d6186f Add fixtures for project creation and API key generation
Enable Pydantic in Neon client
2024-01-23 17:18:16 -05:00
kennethreitz 9e87b4e068 Add support for roles, endpoints, compute, etc. and update integration tests 2024-01-23 08:30:17 -05:00
kennethreitz b2ba21c57e pytest github action 2024-01-22 19:22:58 -05:00
kennethreitz b709538e8d Remove commented out code for @returns_subkey("projects") 2024-01-22 16:47:37 -05:00
kennethreitz 0c6a5e0099 Disable Pydantic and add pagination support to operations endpoint 2024-01-22 16:41:46 -05:00
kennethreitz 4487eafd47 Add pydantic as a required package 2024-01-22 16:18:11 -05:00
kennethreitz dbc77df78b Add pytest to Pipfile 2024-01-22 16:14:48 -05:00
kennethreitz 9a3603c3c8 Add conftest.py and test_integration.py 2024-01-22 15:29:57 -05:00
kennethreitz 62237c2486 Update provisioner field to be optional 2024-01-22 15:29:50 -05:00
kennethreitz 002fb191f4 Add .gitignore file to ignore Python cache and egg-info directories 2024-01-22 10:43:30 -05:00
kennethreitz 9dd2b69a54 use pipfile setups 2024-01-22 10:37:02 -05:00
kennethreitz ac42ffbfb5 update todo 2024-01-21 18:44:35 -05:00
kennethreitz 960644bb3d Refactor NeonClient methods in readme to include project and branch parameters 2024-01-21 18:35:55 -05:00
kennethreitz 3aa849ff82 updates 2024-01-21 18:31:36 -05:00
kennethreitz 963b1f30a0 Update branch methods' docstrings to include branch_id 2024-01-19 17:24:30 -05:00
kennethreitz 31b3b7494b Update NeonAPI class with new methods and return types 2024-01-19 17:05:50 -05:00
kennethreitz 7033474be0 Update NeonAPI class with new methods for branch management and database deletion 2024-01-19 16:43:41 -05:00
kennethreitz 6fffcb3688 Update dependencies and refactor NeonAPI class 2024-01-19 16:33:50 -05:00
kennethreitz 5860a94d2b mass simplification 2024-01-19 16:28:17 -05:00
kennethreitz a861c24882 Fix Pydantic import and update object caching logic 2024-01-19 15:29:10 -05:00
kennethreitz 9f0cf80641 Refactor NeonResource class and add new methods to Project class 2024-01-18 14:23:49 -05:00
kennethreitz caf3d537d0 Refactor NeonResource class constructor 2024-01-18 13:47:27 -05:00
kennethreitz 90775af07e Refactor NeonResource class to improve attribute access 2024-01-18 13:46:40 -05:00
kennethreitz aa4d4afa84 Remove unnecessary code and refactor API key revocation method 2024-01-18 13:34:39 -05:00
kennethreitz 2c3e01bf19 Update README.md 2024-01-18 13:00:19 -05:00
kennethreitz fd21fb506b Review naming conventions 2024-01-18 12:57:27 -05:00
kennethreitz 6c36464f3b rename 2024-01-18 12:56:15 -05:00
kennethreitz b459ae1583 better user_agent 2024-01-18 12:51:50 -05:00
kennethreitz 7696a4e497 Refactor APIKey and Branch classes 2024-01-18 12:50:29 -05:00
kennethreitz bfd0f5197b Update NeonClient code examples 2024-01-18 12:44:56 -05:00
kennethreitz b1007cb1c3 Fix code block syntax in README.md 2024-01-18 12:43:30 -05:00
kennethreitz 6537e1ca38 Update README.md with branch information 2024-01-18 12:43:06 -05:00
kennethreitz 27a1231d25 Add installation instructions to README.md 2024-01-18 12:42:51 -05:00
kennethreitz bad979c3eb Update README.md with Neon API wrapper information 2024-01-18 12:40:03 -05:00
kennethreitz d826119ef3 Refactor model names in schema.py to remove Model1 pattern 2024-01-18 12:31:33 -05:00
kennethreitz 2d47b711cf Add compact_mapping function and NeonClientException class 2024-01-18 12:31:26 -05:00
kennethreitz a0a5645db4 Update class names in schema.py 2024-01-18 12:30:45 -05:00
kennethreitz 4826714e33 Add get_connection_string method to Branch class 2024-01-18 12:14:44 -05:00
kennethreitz 802a9c4a76 Review openapi-codegen and openapi-generator for Pydantic model generation 2024-01-18 12:09:27 -05:00
kennethreitz 7db094808a Refactor TODO.md file structure and update tasks 2024-01-18 12:07:36 -05:00