Skip to content

Commit

Permalink
load environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed Oct 22, 2024
1 parent fa1e14a commit ccd9e56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/script_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import os
from datetime import date, timedelta
from dataclasses import dataclass

from dotenv import load_dotenv
from dune_client.client import DuneClient

from src.fetch.dune import DuneFetcher
Expand All @@ -29,6 +29,7 @@ def generic_script_init(description: str) -> ScriptArgs:
2. establishes dune connection
and returns this info
"""
load_dotenv()
parser = argparse.ArgumentParser(description)
parser.add_argument(
"--start",
Expand Down

0 comments on commit ccd9e56

Please sign in to comment.