From 7710b2f43bf618e9ed45a07b2e2fdbc1df4bbc65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Mon, 26 May 2025 17:41:37 +0200 Subject: [PATCH] chore: removed unused class (#2268) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sébastien Han --- llama_stack/apis/common/deployment_types.py | 30 --------------------- 1 file changed, 30 deletions(-) delete mode 100644 llama_stack/apis/common/deployment_types.py diff --git a/llama_stack/apis/common/deployment_types.py b/llama_stack/apis/common/deployment_types.py deleted file mode 100644 index 4d01d7ad1..000000000 --- a/llama_stack/apis/common/deployment_types.py +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (c) Meta Platforms, Inc. and affiliates. -# All rights reserved. -# -# This source code is licensed under the terms described in the LICENSE file in -# the root directory of this source tree. - -from enum import Enum -from typing import Any - -from pydantic import BaseModel - -from llama_stack.apis.common.content_types import URL -from llama_stack.schema_utils import json_schema_type - - -@json_schema_type -class RestAPIMethod(Enum): - GET = "GET" - POST = "POST" - PUT = "PUT" - DELETE = "DELETE" - - -@json_schema_type -class RestAPIExecutionConfig(BaseModel): - url: URL - method: RestAPIMethod - params: dict[str, Any] | None = None - headers: dict[str, Any] | None = None - body: dict[str, Any] | None = None