You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently generate_jwt command has its own set of flags and does not seem to take config.toml into account at all.
For example:
snow connection generate-jwt --private-key <p8-file-path>
Enter private key file password (Press enter if none) []:
An unexpected exception occurred. Use --debug option to see the traceback. Exception message:
argument of type 'NoneType' is not iterable
The error
argument of type 'NoneType' is not iterable
Probably happens because of the type here:
defgenerate_jwt(
account: str=typer.Option(
None,
"--account",
"-a",
"--accountname",
help="Account name to use when authenticating with Snowflake.",
show_default=False,
),
This also applies to the user and private_key_file values.
Other commands use values from the configuration file
argument of type 'NoneType' is not iterable is not immediately apparent on how to fix. --debug does show the location, but the error message could be better
Context
No response
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
generate-jwt should use settings from config.toml
SNOW-1752069: generate-jwt should use settings from config.toml
Oct 18, 2024
Description
Currently
generate_jwt
command has its own set of flags and does not seem to takeconfig.toml
into account at all.For example:
The error
This also applies to the
user
andprivate_key_file
values.argument of type 'NoneType' is not iterable
is not immediately apparent on how to fix.--debug
does show the location, but the error message could be betterContext
No response
The text was updated successfully, but these errors were encountered: