Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jul 11, 2024
1 parent e33be48 commit 5e85ca3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/backend/base/langflow/utils/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
import os
import sys
from pathlib import Path
from collections import OrderedDict, deque
from itertools import islice
from collections import deque
from threading import Lock, Semaphore
from typing import Optional, List, Callable
from typing import Optional

import orjson
from loguru import logger
Expand Down Expand Up @@ -39,6 +38,7 @@ def __init__(

def get_write_lock(self) -> Lock:
return self._wlock

def write(self, message: str):
record = json.loads(message)
log_entry = record["text"]
Expand Down

0 comments on commit 5e85ca3

Please sign in to comment.