mirror of
https://github.com/kennethreitz/neon-api-python.git
synced 2026-06-05 22:50:18 +00:00
Update consumption method documentation
This commit is contained in:
@@ -481,7 +481,6 @@ class NeonAPI:
|
|||||||
"GET", f"projects/{ project_id }/operations/{ operation_id }"
|
"GET", f"projects/{ project_id }/operations/{ operation_id }"
|
||||||
)
|
)
|
||||||
|
|
||||||
# @returns_model(schema.ProjectsConsumptionResponse)
|
|
||||||
def consumption(
|
def consumption(
|
||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
@@ -490,7 +489,7 @@ class NeonAPI:
|
|||||||
from_date: datetime | str | None = None,
|
from_date: datetime | str | None = None,
|
||||||
to_date: datetime | str | None = None,
|
to_date: datetime | str | None = None,
|
||||||
) -> t.Dict[str, t.Any]:
|
) -> t.Dict[str, t.Any]:
|
||||||
"""Get a list of consumption metrics for all projects."""
|
"""Experimental — get a list of consumption metrics for all projects."""
|
||||||
|
|
||||||
# Convert datetime objects to ISO 8601 strings.
|
# Convert datetime objects to ISO 8601 strings.
|
||||||
from_date = (
|
from_date = (
|
||||||
|
|||||||
Reference in New Issue
Block a user