Files
goose/api_clients/python/goose_api/models/recipe_parameter_requirement.py
2025-10-02 20:13:20 -04:00

40 lines
777 B
Python

# coding: utf-8
"""
goose-server
An AI agent
The version of the OpenAPI document: 1.9.0
Contact: ai-oss-tools@block.xyz
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 RecipeParameterRequirement(str, Enum):
"""
RecipeParameterRequirement
"""
"""
allowed enum values
"""
REQUIRED = 'required'
OPTIONAL = 'optional'
USER_PROMPT = 'user_prompt'
@classmethod
def from_json(cls, json_str: str) -> Self:
"""Create an instance of RecipeParameterRequirement from a JSON string"""
return cls(json.loads(json_str))