From f652fe521b6cffd13c5917488ac6b27461e0a435 Mon Sep 17 00:00:00 2001 From: doku88 Date: Sun, 15 Dec 2024 21:21:35 -0800 Subject: [PATCH] updated requirements; added loadEnv --- pyproject.toml | 4 ++-- synth_sdk/tracing/upload.py | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7b348ed..b56b5c7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,8 +25,8 @@ dependencies = [ "apropos-ai>=0.4.5", "boto3>=1.35.71", "botocore>=1.35.71", - "tqdm>=4.66.4" - "craftaxlm>=0.0.7", + "tqdm>=4.66.4", + "craftaxlm>=0.0.5", ] classifiers = [] diff --git a/synth_sdk/tracing/upload.py b/synth_sdk/tracing/upload.py index 0021872..2caab30 100644 --- a/synth_sdk/tracing/upload.py +++ b/synth_sdk/tracing/upload.py @@ -6,11 +6,9 @@ from pprint import pprint import asyncio import sys -from pympler import asizeof -from tqdm import tqdm import boto3 from datetime import datetime - +from dotenv import load_dotenv from typing import Any, Dict, List import requests @@ -19,6 +17,7 @@ from synth_sdk.tracing.abstractions import Dataset, SystemTrace from synth_sdk.tracing.events.store import event_store +load_dotenv() # NOTE: This may cause memory issues in the future def validate_json(data: dict) -> None: