Skip to content

Support programmatic configuration variables #1250

@mahic

Description

@mahic

The library supports setting configuration variables such as DATACONTRACT_DATABRICKS_TOKEN via os.environ
In a multithreaded environment, this will cause race condition issues and security issues if the token supplied is a user token.

The workaround currently is to invoke subprocesses with env vars set for each sub process, but it would be a far better solution if one could set configuration vars programmatically, ie as a param on the DataContract type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    drop-soda-firstRelevant after removing the Soda v3 dependencyenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions