Skip to content

Delta Sharing Python Package to Load Credentials from String #448

@lz100

Description

@lz100

Right now in the python package, one needs to specify the path of the credentials file. However, in Github Actions and similar CI environments, loading credentials from environment variables is desired. I tried to search your document, but with no result. Is there any possible way one can load from an env variable or a string, like the following?

import delta_sharing
import os

profile = os.environ["PROFILE"]

client = delta_sharing.SharingClient(config_string = profile)

A similar approach has been implemented in the delta-sharing-r package. It would be so nice if we could do the same in Python.

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