mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 19:04:19 +00:00
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 <cdoern@redhat.com>
This commit is contained in:
parent
42c10da1c3
commit
f5e4bf2edf
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ def available_templates_specs() -> Dict[str, BuildConfig]:
|
||||||
return template_specs
|
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:
|
if args.list_templates:
|
||||||
return _run_template_list_cmd()
|
return _run_template_list_cmd()
|
||||||
|
|
||||||
|
|
|
@ -75,4 +75,4 @@ environment is active, you must specify a name.
|
||||||
# can be fast to load and reduces dependencies
|
# can be fast to load and reduces dependencies
|
||||||
from ._build import run_stack_build_command
|
from ._build import run_stack_build_command
|
||||||
|
|
||||||
return run_stack_build_command(self.parser, args)
|
return run_stack_build_command(args)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue