Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
stellasia committed Jan 3, 2025
1 parent 80708e4 commit 37f964a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/neo4j_graphrag/utils/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ class Prettyfier:
"""

def __init__(self) -> None:
self.max_list_length = int(os.environ.get(
"LOGGING__MAX_LIST_LENGTH", DEFAULT_MAX_LIST_LENGTH
))
self.max_string_length = int(os.environ.get(
"LOGGING__MAX_STRING_LENGTH", DEFAULT_MAX_STRING_LENGTH
))
self.max_list_length = int(
os.environ.get("LOGGING__MAX_LIST_LENGTH", DEFAULT_MAX_LIST_LENGTH)
)
self.max_string_length = int(
os.environ.get("LOGGING__MAX_STRING_LENGTH", DEFAULT_MAX_STRING_LENGTH)
)

def _prettyfy_dict(self, value: dict[Any, Any]) -> dict[Any, Any]:
return {
Expand Down

0 comments on commit 37f964a

Please sign in to comment.