Skip to content

Commit

Permalink
add statistically idempotent annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
fulpm committed Sep 18, 2024
1 parent 673537a commit 7391b29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion howso/client/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class LabelDefinition(TypedDict):
description: NotRequired[str | None]
long_running: NotRequired[bool]
idempotent: NotRequired[bool]
statistically_idempotent: NotRequired[bool]
read_only: NotRequired[bool]


Expand All @@ -68,7 +69,7 @@ class EngineApi(TypedDict):
"""Description of the API."""


@lru_cache(8)
@lru_cache(16)
def get_api(engine_path: t.Optional[Path] = None) -> EngineApi:
"""
Get api documentation from the Howso Engine.
Expand Down

0 comments on commit 7391b29

Please sign in to comment.