From 707d972d75f6fa5fa6a98dff0dbff71c1aaa5213 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Fri, 2 Aug 2024 18:38:25 +0200 Subject: [PATCH] Lint --- llama_cpp/llama_types.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llama_cpp/llama_types.py b/llama_cpp/llama_types.py index bbb58afc3..a243962ba 100644 --- a/llama_cpp/llama_types.py +++ b/llama_cpp/llama_types.py @@ -7,9 +7,9 @@ """ -from typing import Any, List, Optional, Dict, Union -from typing_extensions import TypedDict, NotRequired, Literal - +from typing import Any, Dict, List, Optional, Union + +from typing_extensions import Literal, NotRequired, TypedDict # NOTE: Defining this correctly using annotations seems to break pydantic validation. # This is a workaround until we can figure out how to do this correctly