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

apps: Convert shortlist string to list #329

Merged
merged 1 commit into from
Mar 22, 2024
Merged

Conversation

mike-sul
Copy link
Contributor

  • Convert the comma-separated list of apps represented as a string and provided as an input parameter to a list of string.

  • Define the app shortlist as a list of strings in each function of the app fetcher.

- Convert the comma-separated list of apps represented as a string and
  provided as an input parameter to a list of string.

- Define the app shortlist as a list of strings in each function of the
  app fetcher.

Signed-off-by: Mike Sul <[email protected]>
@mike-sul mike-sul requested a review from doanac March 22, 2024 15:28
@@ -15,7 +15,7 @@
from helpers import cmd


def fetch_target_apps(targets: dict, apps_shortlist: str, token: str, dst_dir: str):
def fetch_target_apps(targets: dict, apps_shortlist: [str], token: str, dst_dir: str):
Copy link
Member

Choose a reason for hiding this comment

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

I didn't know that syntax worked [str]. I guess this is a newer List[str].

@mike-sul mike-sul merged commit f560463 into master Mar 22, 2024
2 checks passed
@mike-sul mike-sul deleted the fix/app-shortlist-is-list branch March 22, 2024 16:26
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.

2 participants