From 1290d0fecb7f29765bbe77bad7e982ce00d8d90c Mon Sep 17 00:00:00 2001 From: Preston Rasmussen <109292228+prasmussen15@users.noreply.github.com> Date: Tue, 22 Oct 2024 08:49:14 -0400 Subject: [PATCH] load env in helper file (#196) * load env in helper file * bump version --- graphiti_core/helpers.py | 3 +++ pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/graphiti_core/helpers.py b/graphiti_core/helpers.py index cd05a95f..5e12d6c3 100644 --- a/graphiti_core/helpers.py +++ b/graphiti_core/helpers.py @@ -18,8 +18,11 @@ from datetime import datetime import numpy as np +from dotenv import load_dotenv from neo4j import time as neo4j_time +load_dotenv() + DEFAULT_DATABASE = os.getenv('DEFAULT_DATABASE', None) diff --git a/pyproject.toml b/pyproject.toml index c1ba0b8a..9233d537 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "graphiti-core" -version = "0.3.14" +version = "0.3.15" description = "A temporal graph building library" authors = [ "Paul Paliychuk ",