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
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