Skip to content

Some maybe final fixes for notification and provenance tracking#168

Merged
MBARIMike merged 3 commits intombari-org:mainfrom
MBARIMike:main
May 5, 2026
Merged

Some maybe final fixes for notification and provenance tracking#168
MBARIMike merged 3 commits intombari-org:mainfrom
MBARIMike:main

Conversation

@MBARIMike
Copy link
Copy Markdown
Contributor

Applies to #148

MBARIMike added 3 commits May 5, 2026 10:10
… logging

- Add python-dotenv dependency and call load_dotenv() at the __main__
  entry point of lrauv_deployment_plots.py, process.py, create_products.py,
  and provenance.py so that .env settings (SSDS_API_BASE, SSDS_API_KEY, etc.)
  are honoured when running from the command line, matching VS Code behaviour.

- Resolve SSDS_API_BASE dynamically inside submit_process_run() rather than
  at import time so that load_dotenv() takes effect before the value is read.

- Pass log=self.logger to submit_process_run() in lrauv_deployment_plots.py
  so the "Provenance recorded" INFO message is visible in the caller's log
  output rather than going to the unconfigured module-level logger.
@MBARIMike MBARIMike merged commit 2ee228a into mbari-org:main May 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant