Repository: google/turbinia

Issue:
[Bug]: turbinia-client result task arg error
### What steps will reproduce the bug?

Install client and api lib from HEAD and ` turbinia-client result task <task id>`

### What is the expected behavior?

Listed task output

### What do you see instead?

```
$ turbinia-client result task <task id>
2023-10-06 14:06:47,747 INFO turbinia - Using configuration instance name -> default with host http://localhost:8000
Traceback (most recent call last):
  File "/home/aaronpeterson/src/turbinia-talks/env/turbinia-client/bin/turbinia-client", line 33, in <module>
    sys.exit(load_entry_point('turbinia-client', 'console_scripts', 'turbinia-client')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aaronpeterson/src/turbinia-talks/env/turbinia-client/bin/turbinia-client", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/aaronpeterson/src/turbinia/turbinia/api/cli/turbinia_client/turbiniacli_tool.py", line 109, in <module>
    main()
  File "/home/aaronpeterson/src/turbinia/turbinia/api/cli/turbinia_client/turbiniacli_tool.py", line 102, in main
    cli.main()
  File "/home/aaronpeterson/src/turbinia-talks/env/turbinia-client/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/home/aaronpeterson/src/turbinia-talks/env/turbinia-client/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aaronpeterson/src/turbinia-talks/env/turbinia-client/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aaronpeterson/src/turbinia-talks/env/turbinia-client/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aaronpeterson/src/turbinia-talks/env/turbinia-client/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aaronpeterson/src/turbinia-talks/env/turbinia-client/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/aaronpeterson/src/turbinia/turbinia/api/cli/turbinia_client/core/commands.py", line 88, in get_task_result
    api_response = api_instance.get_task_output_with_http_info(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "pydantic/decorator.py", line 40, in pydantic.decorator.validate_arguments.validate.wrapper_function
  File "pydantic/decorator.py", line 134, in pydantic.decorator.ValidatedFunction.call
  File "pydantic/decorator.py", line 206, in pydantic.decorator.ValidatedFunction.execute
  File "/home/aaronpeterson/src/turbinia/turbinia/api/client/turbinia_api_lib/api/turbinia_request_results_api.py", line 275, in get_task_output_with_http_info
    raise ApiTypeError(
turbinia_api_lib.exceptions.ApiTypeError: Got an unexpected keyword argument 'request_timeout' to method get_task_output

```

### Additional information

_No response_


Discussion:

Resolving patch:
diff --git a/turbinia/api/cli/turbinia_client/core/commands.py b/turbinia/api/cli/turbinia_client/core/commands.py
--- a/turbinia/api/cli/turbinia_client/core/commands.py
+++ b/turbinia/api/cli/turbinia_client/core/commands.py
@@ -86,7 +86,7 @@ def get_task_result(ctx: click.Context, task_id: str) -> None:
   filename = f'{task_id}.tgz'
   try:
     api_response = api_instance.get_task_output_with_http_info(
-        task_id, _preload_content=False, request_timeout=(30, 300))
+        task_id, _preload_content=False, _request_timeout=(30, 300))
     click.echo(f'Saving output for task {task_id} to: {filename}')
     # Read the response and save into a local file.
     with open(filename, 'wb') as file:


Test patch: