fleet-memory/hindsight-clients/python/hindsight_client_api/models/budget.py
2026-01-31 18:04:21 +01:00

38 lines
702 B
Python

# coding: utf-8
"""
Hindsight HTTP API
HTTP API for Hindsight
The version of the OpenAPI document: 0.4.7
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
""" # noqa: E501
from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self
class Budget(str, Enum):
"""
Budget levels for recall/reflect operations.
"""
"""
allowed enum values
"""
LOW = 'low'
MID = 'mid'
HIGH = 'high'
@classmethod
def from_json(cls, json_str: str) -> Self:
"""Create an instance of Budget from a JSON string"""
return cls(json.loads(json_str))