Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support environment variables for enabled #35

Merged
merged 2 commits into from May 24, 2022
Merged

Conversation

guemues
Copy link
Contributor

@guemues guemues commented Apr 7, 2022

In the example, config file contains enabled setting given with an environmental variable. It is very useful to control neptune with an env variable yet currently it is not possible.

neptune:
#GLOBAL CONFIG
project: $NEPTUNE_PROJECT
base_namespace: kedro
enabled: $NEPTUNE_ENABLED

In the example, config file contains enabled setting given with an environmental variable. It is very useful to control neptune with an env variable yet currently it is not possible.

neptune:
  #GLOBAL CONFIG
  project: $NEPTUNE_PROJECT
  base_namespace: kedro
  enabled: $NEPTUNE_ENABLED
@Blaizzy
Copy link

Blaizzy commented May 2, 2022

Hi @guemues

Prince Canuma here, a Data Scientist at Neptune.ai,

Thank you very much for submitting this PR!

I have notified the team and they will be in touch with you soon.

@Raalsky
Copy link
Collaborator

Raalsky commented May 4, 2022

I'll really appreciate leaving a simple note in https://github.com/guemues/kedro-neptune/blob/6a560ec79f40cd0a178233bc213ed5f915c06824/CHANGELOG.md with a reference to this Pull Request.

kedro_neptune/config.py Outdated Show resolved Hide resolved
enabled is an optional config so it needs to have a default value
@Raalsky
Copy link
Collaborator

Raalsky commented May 12, 2022

I'll really appreciate leaving a simple note in https://github.com/guemues/kedro-neptune/blob/6a560ec79f40cd0a178233bc213ed5f915c06824/CHANGELOG.md with a reference to this Pull Request.

Bump 😜

@Blaizzy Blaizzy linked an issue May 12, 2022 that may be closed by this pull request
@Raalsky Raalsky merged commit cf3e579 into neptune-ai:main May 24, 2022
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.

BUG: Not using environmental variable for enabled in the runtime
4 participants