Commit Graph

59 Commits

Author SHA1 Message Date
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
kennethreitz 97062b21cf Add saved queries 2024-01-18 12:00:20 -05:00
kennethreitz 0860c584c3 Add support for roles, httx, tests, ci/cd, and documentation 2024-01-18 11:58:20 -05:00
kennethreitz a25ebd7fc9 Refactor TODO.md file
This commit refactors the TODO.md file by updating the list of tasks and removing unnecessary items. It also suggests using `openapi-codegen` for Pydantic model generation and reviews naming conventions.
2024-01-18 11:36:59 -05:00
kennethreitz 8b654fdf4f Add TODO.md file with initial tasks 2024-01-18 11:26:46 -05:00
kennethreitz 5d8302d688 Update output file path in Makefile 2024-01-18 11:26:37 -05:00
kennethreitz 313323cad7 Refactor object variable name in client.py 2024-01-17 20:28:58 -05:00
kennethreitz 5c5b451251 Refactor API key revocation and user retrieval methods 2024-01-17 19:45:07 -05:00
kennethreitz de3bd34731 Update cursor parameter type in NeonResource subclasses 2024-01-17 19:40:04 -05:00
kennethreitz f8acb30bfd Add new methods to NeonAPI and update client.py 2024-01-17 19:37:20 -05:00
kennethreitz 53dda94769 Add list method to Operation class 2024-01-17 17:19:04 -05:00
kennethreitz 2ec94505f5 Update imports and data models in client.py 2024-01-17 17:10:59 -05:00
kennethreitz 9305a36c13 Refactor NeonClient class and import statements 2024-01-17 17:04:21 -05:00
kennethreitz 29e4812580 Refactor NeonClientException class and add new NeonResource classes 2024-01-17 16:39:30 -05:00
kennethreitz 8ac4e4147e Refactor APIKey class to improve attribute access 2024-01-17 15:54:17 -05:00
kennethreitz c2e42d62d6 Add NeonClient2 package and update NeonClient import 2024-01-17 15:51:42 -05:00
kennethreitz c13ea6b435 Add API key functionality to NeonClient 2024-01-17 15:51:35 -05:00
kennethreitz 19e6e71733 snapshop 2024-01-17 11:15:18 -05:00