mirror of
https://github.com/kennethreitz/neon-api-python.git
synced 2026-06-05 22:50:18 +00:00
Refactor NeonResource class constructor
This commit is contained in:
@@ -15,12 +15,7 @@ NEON_API_BASE_URL = "https://console.neon.tech/api/v2/"
|
||||
|
||||
|
||||
class NeonResource:
|
||||
def __init__(
|
||||
self,
|
||||
client,
|
||||
obj,
|
||||
data_model: BaseModel,
|
||||
):
|
||||
def __init__(self, client, obj, data_model: BaseModel):
|
||||
"""A Neon Resource. Used to wrap API responses, and deserialize them.
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user