Skip to content

Conversation

@Avantol13
Copy link
Contributor

… allow using --auth profile and getting api key from configuration

New Features

  • Allow passing a configure profile name in --auth profile to use that auth in any command

Breaking Changes

Bug Fixes

  • Don't allow multiple of the same profile name to be added to the configure file

Improvements

  • simplify configure logic to use standard .ini library in python

Dependency updates

Deployment changes

… allow using --auth profile and getting api key from configuration
@github-actions
Copy link

github-actions bot commented Nov 1, 2021

The style in this PR agrees with black. ✔️

This formatting comment was generated automatically by a script in uc-cdis/wool.

from urllib.parse import urlsplit
from urllib.parse import parse_qs

CONFIG_FILE_PATH = expanduser("~/.gen3/config")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi gen3-client has also been updated recently to adpot a standard .ini library for its config files, and the config file name has been changed in there https://github.com/uc-cdis/cdis-data-client/pull/104/files#diff-bd2e7cbbf1baffd3573ff07a2de731e31dca5ef335d98bd695d8ae4baea99c5eR26

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.

4 participants