Skip to content

Commit 38fadc3

Browse files
committed
Update argument extraction in executor hook to include an additional return value
- Modified the `extract_arguments` function to return an extra string, enhancing the argument handling capabilities. - This change supports future extensions and improves flexibility in argument parsing.
1 parent 3c891cb commit 38fadc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datapilot/core/platforms/dbt/hooks/executor_hook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def setup_argument_parser() -> argparse.ArgumentParser:
6060
return parser
6161

6262

63-
def extract_arguments(args) -> Tuple[str, str, str, str, str, str, str]:
63+
def extract_arguments(args) -> Tuple[str, str, str, str, str, str, str, str]:
6464
"""Extract and return common arguments from parsed args."""
6565
config_name = getattr(args, "config_name", None)
6666
token = getattr(args, "token", None)

0 commit comments

Comments
 (0)