From cdee3e6da2b58c08226db87cdfdefe01b2e49a27 Mon Sep 17 00:00:00 2001 From: Hassieb Pakzad <68423100+hassiebp@users.noreply.github.com> Date: Fri, 25 Oct 2024 13:55:33 +0200 Subject: [PATCH] fix lint errors --- langfuse/client.py | 1 - langfuse/task_manager.py | 2 +- langfuse/utils/langfuse_singleton.py | 2 +- tests/test_task_manager.py | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/langfuse/client.py b/langfuse/client.py index c402ff3e..8561aa69 100644 --- a/langfuse/client.py +++ b/langfuse/client.py @@ -11,7 +11,6 @@ import tracemalloc from typing import ( Any, - Callable, Dict, Optional, Literal, diff --git a/langfuse/task_manager.py b/langfuse/task_manager.py index 58641b93..3f947ec0 100644 --- a/langfuse/task_manager.py +++ b/langfuse/task_manager.py @@ -7,7 +7,7 @@ import threading from queue import Empty, Queue import time -from typing import Callable, List, Any, Optional +from typing import List, Any, Optional import typing from langfuse.Sampler import Sampler diff --git a/langfuse/utils/langfuse_singleton.py b/langfuse/utils/langfuse_singleton.py index 5493f244..3b3872f4 100644 --- a/langfuse/utils/langfuse_singleton.py +++ b/langfuse/utils/langfuse_singleton.py @@ -1,6 +1,6 @@ import httpx import threading -from typing import Callable, Optional +from typing import Optional from langfuse import Langfuse diff --git a/tests/test_task_manager.py b/tests/test_task_manager.py index 7e6db66c..7c281f0b 100644 --- a/tests/test_task_manager.py +++ b/tests/test_task_manager.py @@ -1,4 +1,3 @@ -from unittest.mock import Mock, ANY import logging import subprocess import threading