From f5e4bf2edf5ea2d2d373a62bf5ae268bcbc21641 Mon Sep 17 00:00:00 2001 From: Charlie Doern Date: Thu, 6 Feb 2025 13:05:35 -0500 Subject: [PATCH] chore: remove unused argument (#987) # What does this PR do? very small fix I noticed some unused arguments, but this seems like the easiest one to remove since its passed in explicitly. ## Before submitting - [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case). - [ ] Ran pre-commit to handle lint / formatting issues. - [ ] Read the [contributor guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md), Pull Request section? - [ ] Updated relevant documentation. - [ ] Wrote necessary unit or integration tests. Signed-off-by: Charlie Doern --- llama_stack/cli/stack/_build.py | 2 +- llama_stack/cli/stack/build.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llama_stack/cli/stack/_build.py b/llama_stack/cli/stack/_build.py index d5a9173ee..65d37e9da 100644 --- a/llama_stack/cli/stack/_build.py +++ b/llama_stack/cli/stack/_build.py @@ -56,7 +56,7 @@ def available_templates_specs() -> Dict[str, BuildConfig]: return template_specs -def run_stack_build_command(parser: argparse.ArgumentParser, args: argparse.Namespace) -> None: +def run_stack_build_command(args: argparse.Namespace) -> None: if args.list_templates: return _run_template_list_cmd() diff --git a/llama_stack/cli/stack/build.py b/llama_stack/cli/stack/build.py index 1b673b889..729bd3ff1 100644 --- a/llama_stack/cli/stack/build.py +++ b/llama_stack/cli/stack/build.py @@ -75,4 +75,4 @@ environment is active, you must specify a name. # can be fast to load and reduces dependencies from ._build import run_stack_build_command - return run_stack_build_command(self.parser, args) + return run_stack_build_command(args)