mirror of
https://github.com/kennethreitz/neon-api-python.git
synced 2026-06-05 22:50:18 +00:00
14 lines
455 B
Python
14 lines
455 B
Python
from .http_client import Neon_API_V2
|
|
from .resources import ResourceCollection
|
|
|
|
|
|
class NeonClient:
|
|
def __init__(self, api_key: str, **kwargs):
|
|
self.api = Neon_API_V2(api_key, **kwargs)
|
|
self.resources = ResourceCollection(self.api)
|
|
|
|
# self.api_keys = APIKeyResource(self.api)
|
|
# self.users = UserResource(self.api)
|
|
# self.projects = ProjectResource(self.api)
|
|
# self.databases = DatabaseResource(self.api)
|