Skip to content

Pass environment variables to the python interpreter #42

@lud-wj

Description

@lud-wj

I would like to know how I can pass environment variables dynamically. It seems that the interpreter inherits environment variables from where the application is booted. But is there a way to add some (from loaded .env file in runtime.exs) or remove/overwrite some, to avoid leaking sensitive data or swap an API key for another ?

Thank you :)

(oh and not worth its own issue: how do you pass a pid to send_tagged_objects ? The encoder does not support passing pids in globals)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions