cognee 0.3.7.dev1__py3-none-any.whl → 0.3.7.dev2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,7 +78,12 @@ _is_structlog_configured = False
78
78
 
79
79
  # Path to logs directory
80
80
  LOGS_DIR = Path(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), "logs"))
81
- LOGS_DIR.mkdir(exist_ok=True) # Create logs dir if it doesn't exist
81
+
82
+ try:
83
+ LOGS_DIR.mkdir(exist_ok=True) # Create logs dir if it doesn't exist
84
+ except Exception as e:
85
+ # Note: mkdir cant be used when the file system is read only.
86
+ print(f"Warning: Could not create logs directory at {LOGS_DIR}: {e}")
82
87
 
83
88
  # Maximum number of log files to keep
84
89
  MAX_LOG_FILES = 10
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cognee
3
- Version: 0.3.7.dev1
3
+ Version: 0.3.7.dev2
4
4
  Summary: Cognee - is a library for enriching LLM context with a semantic layer for better understanding and reasoning.
5
5
  Project-URL: Homepage, https://www.cognee.ai
6
6
  Project-URL: Repository, https://github.com/topoteretes/cognee
@@ -698,7 +698,7 @@ cognee/shared/__init__.py,sha256=2V1IwCRt4hY5KIsnK9oMj8-MaiiK-i3QD18FJYlIjP4,154
698
698
  cognee/shared/cache.py,sha256=VZEA-nEXkdkF0nRAYp_Fe1ntoL7OjyFFbyXassaJL-c,13923
699
699
  cognee/shared/data_models.py,sha256=tlIEM_5Um_dWMF_ogjbSDC1VSX1L3zl0svKxauKXytI,10609
700
700
  cognee/shared/encode_uuid.py,sha256=-EVtObzdnhSXKb5gz-SH1abicaaeiJ2rqcrLMr8V_cs,366
701
- cognee/shared/logging_utils.py,sha256=3s0wBhjKNzY2lQy9gquDZeqfqTnOTNSBJi5-WqVtbRk,20876
701
+ cognee/shared/logging_utils.py,sha256=09TXPlfYolLHTdJLXhaXweTMZmGN3U4DTyiHlog5yVs,21049
702
702
  cognee/shared/utils.py,sha256=pb8u_Si9bAYN54tq7Nw7MdOSUpgWackbmnokQHwDfZs,55640
703
703
  cognee/shared/exceptions/__init__.py,sha256=NNi2QcqIxj8tZNuQP5FC-kJCw1e5jcRaoQAmkQEpyjM,179
704
704
  cognee/shared/exceptions/exceptions.py,sha256=-8nsWJ0Cnlbh5XW6c96ZwTcI2ZDXSMCvv2UCOCzZtdA,362
@@ -942,9 +942,9 @@ distributed/tasks/queued_add_edges.py,sha256=kz1DHE05y-kNHORQJjYWHUi6Q1QWUp_v3Dl
942
942
  distributed/tasks/queued_add_nodes.py,sha256=aqK4Ij--ADwUWknxYpiwbYrpa6CcvFfqHWbUZW4Kh3A,452
943
943
  distributed/workers/data_point_saving_worker.py,sha256=kmaQy2A2J7W3k9Gd5lyoiT0XYOaJmEM8MbkKVOFOQVU,4729
944
944
  distributed/workers/graph_saving_worker.py,sha256=b5OPLLUq0OBALGekdp73JKxU0GrMlVbO4AfIhmACKkQ,4724
945
- cognee-0.3.7.dev1.dist-info/METADATA,sha256=euMAqY_KHJ1YOki7-PDSpwaHdYTV83sLfi9MXmoxKq0,14942
946
- cognee-0.3.7.dev1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
947
- cognee-0.3.7.dev1.dist-info/entry_points.txt,sha256=fAozOD9Vs4kgYwRhBiZoLCIXu-OSZqVxKGv45l19uok,88
948
- cognee-0.3.7.dev1.dist-info/licenses/LICENSE,sha256=pHHjSQj1DD8SDppW88MMs04TPk7eAanL1c5xj8NY7NQ,11344
949
- cognee-0.3.7.dev1.dist-info/licenses/NOTICE.md,sha256=6L3saP3kSpcingOxDh-SGjMS8GY79Rlh2dBNLaO0o5c,339
950
- cognee-0.3.7.dev1.dist-info/RECORD,,
945
+ cognee-0.3.7.dev2.dist-info/METADATA,sha256=iwDh6dQHkRPC-Q_VLuW4R16VdmOZM1jTpigiLcZS7kY,14942
946
+ cognee-0.3.7.dev2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
947
+ cognee-0.3.7.dev2.dist-info/entry_points.txt,sha256=fAozOD9Vs4kgYwRhBiZoLCIXu-OSZqVxKGv45l19uok,88
948
+ cognee-0.3.7.dev2.dist-info/licenses/LICENSE,sha256=pHHjSQj1DD8SDppW88MMs04TPk7eAanL1c5xj8NY7NQ,11344
949
+ cognee-0.3.7.dev2.dist-info/licenses/NOTICE.md,sha256=6L3saP3kSpcingOxDh-SGjMS8GY79Rlh2dBNLaO0o5c,339
950
+ cognee-0.3.7.dev2.dist-info/RECORD,,