sofarocean / sofar-api-client-python

Python Client for Wavefleet
Apache License 2.0
7 stars 5 forks source link

handling of .env file sometimes hardcodes file location to user's home directory #32

Open tcj opened 1 year ago

tcj commented 1 year ago

I'm going spare on the specifics right now — but there are cases where this client will only read/honor the .env file that is in the user's home directory, rather than following the normal logic dotenv provides.

tcj commented 1 year ago

I believe this also complicates the 'custom token' handling, which is itself represented by another currently-open issue.

tcj commented 1 year ago

note: the pattern I'm speaking of (which is not used in pysofar, or is bypassed) is load_dotenv(find_dotenv())