Skip to content

Commit

Permalink
fix circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmatthias committed May 2, 2024
1 parent 23fb1c3 commit 05e1a14
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion logging_loki/json_loki_logger.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import json

from logging_loki import LokiLogger
from .loki_logger import LokiLogger


class JsonLokiLogger:
Expand Down
6 changes: 2 additions & 4 deletions logging_loki/loki_context_logger.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import copy

from logging_loki import LogContext
from logging_loki import LokiLogger
from .log_context import LogContext
from .loki_logger import LokiLogger


class LokiContextLogger:
Expand Down
2 changes: 1 addition & 1 deletion logging_loki/loki_logger.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
import logging.handlers
from multiprocessing import Queue
from logging_loki import LokiHandler
from .handlers import LokiHandler


class LokiLogger:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "inuits-python-logging-loki"
version = "1.2.0"
version = "1.2.1"
description = "Python logging handler for Grafana Loki."
readme = "README.md"
authors = [{ name = "Inuits", email = "[email protected]" }, {name="Andrey Maslov", email="[email protected]"}]
Expand Down

0 comments on commit 05e1a14

Please sign in to comment.