Skip to content

Commit

Permalink
add env
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhong5297 committed Feb 4, 2024
1 parent 0ca022c commit a59916e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .env.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#copy and paste this file into a .env file to run scripts locally. You will also need to add the DUNE_API_KEY into the repo settings under "Secrets and Variables"
#copy and paste this file into a .env file to run scripts locally. You will also need to add the DUNE_API_KEY and DUNE_API_BASE_URL into the repo settings under "Secrets and Variables"

#add a dune API key - you can create one under team settings (https://dune.com/settings/teams/manage/{team_name}/api). You must be on the premium plan.
DUNE_API_KEY=
DUNE_API_KEY=
DUNE_API_BASE_URL=https://api.dune.com
2 changes: 1 addition & 1 deletion scripts/upload_to_dune.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
)
print(f'uploaded table "{file_name}"')
except Exception as e:
print(f"An error occurred while uploading the CSV: {str(e)}")
print(e)

0 comments on commit a59916e

Please sign in to comment.