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

read packages from environment variables #1002

Merged
merged 1 commit into from
May 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions flytekit/clis/sdk_in_container/pyflyte.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ def main(ctx, pkgs=None, config=None):
"""
ctx.obj = dict()

# Handle package management - get from config if not specified on the command line
pkgs = pkgs or []
# Handle package management - get from the command line, the environment variables, then the config file.
pkgs = pkgs or LocalSDK.WORKFLOW_PACKAGES.read() or []
if config:
ctx.obj[CTX_CONFIG_FILE] = config
cfg = configuration.ConfigFile(config)
Expand Down