Skip to content

Commit

Permalink
Update consumption method documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethreitz committed Jan 31, 2024
1 parent 681a9c7 commit 591b4ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions neon_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,6 @@ def operation(self, project_id: str, operation_id: str) -> t.Dict[str, t.Any]:
"GET", f"projects/{ project_id }/operations/{ operation_id }"
)

# @returns_model(schema.ProjectsConsumptionResponse)
def consumption(
self,
*,
Expand All @@ -490,7 +489,7 @@ def consumption(
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 = (
Expand Down

0 comments on commit 591b4ee

Please sign in to comment.