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
parser.add_argument(
"--accept-taa",
type=str,
nargs=2,
metavar=("<acceptance-mechanism>", "<taa-version>"),
env_var="ACAPY_ACCEPT_TAA",
help=(
"Specify the acceptance mechanism and taa version for which to accept"
" the transaction author agreement. If not provided, the TAA must"
" be accepted through the TTY or the admin API."
),
)
yaml
given this yaml file:
accept-taa:
value is not set and is ignored
yaml
given this environment variable (loaded with docker --env-file):
configargparse v1.7
usage
given this add_argument:
yaml
given this yaml file:
value is not set and is ignored
yaml
given this environment variable (loaded with docker --env-file):
exception:
error: argument --accept-taa: expected 2 arguments
expected
empty environment variable same behavior as no value yaml; if value-less and expect a value, just treat it as not specified
The text was updated successfully, but these errors were encountered: