Update consumption method documentation

This commit is contained in:
2024-01-31 10:03:11 -05:00
parent 681a9c732e
commit 591b4eea24
+1 -2
View File
@@ -481,7 +481,6 @@ class NeonAPI:
"GET", f"projects/{ project_id }/operations/{ operation_id }"
)
# @returns_model(schema.ProjectsConsumptionResponse)
def consumption(
self,
*,
@@ -490,7 +489,7 @@ class NeonAPI:
from_date: datetime | str | None = None,
to_date: datetime | str | None = None,
) -> 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.
from_date = (