Commit Graph

48 Commits

Author SHA1 Message Date
kennethreitz 591b4eea24 Update consumption method documentation 2024-01-31 10:03:11 -05:00
kennethreitz 681a9c732e Refactor code and add new functions for handling datetime conversion 2024-01-31 10:00:59 -05:00
kennethreitz 526568f3d4 Add project permission management APIs 2024-01-31 09:43:49 -05:00
kennethreitz 2c927cfac7 Remove unused import in schema.py 2024-01-30 10:17:13 -05:00
kennethreitz 5b0273f57b Update schema.py with datetime changes 2024-01-30 10:16:32 -05:00
kennethreitz 8f4a7b7bb5 Add Sphinx documentation files 2024-01-26 14:53:23 -05:00
kennethreitz 719b2b1c3c Add fmt command to Makefile and update Pipfile.lock with ruff package 2024-01-25 10:59:53 -05:00
kennethreitz b192b8cf81 Update test_integration.py and client.py 2024-01-25 09:27:31 -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 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 dbc77df78b Add pytest to Pipfile 2024-01-22 16:14:48 -05:00
kennethreitz 62237c2486 Update provisioner field to be optional 2024-01-22 15:29:50 -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 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 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 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 19e6e71733 snapshop 2024-01-17 11:15:18 -05:00
kennethreitz 71223f1a2f Refactor NeonClient and related classes 2024-01-16 16:50:36 -05:00
kennethreitz 989ed43325 Refactor imports and remove unused code 2024-01-16 16:32:44 -05:00
kennethreitz a65283958b implement NeonUser and NeonAPIKey classes 2024-01-16 11:33:31 -05:00
kennethreitz 10368c78f1 Add pagination support to Neon_API_V2 class 2024-01-14 17:27:28 -05:00
kennethreitz b547bb0941 Refactor resource classes and add ResourceCollection 2024-01-14 12:46:13 -05:00
kennethreitz a9c08ecc6d Add exception handling for HTTP requests in Neon_API_V2 class and update database-related methods in DatabaseResource class 2024-01-14 08:11:51 -05:00
kennethreitz a8b9e03318 Add v2_client and http_client modules 2024-01-14 07:13:40 -05:00
kennethreitz c21bb44142 Add NeonClient class and its methods 2024-01-13 14:44:06 -05:00