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
Copy file name to clipboardExpand all lines: docs/cli-sdk-mapping.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ In the **"SDK destination"** column:
57
57
|`--key-file PATH`|`Configuration.key_file`| Direct property (client TLS key) |
58
58
|`--assert-hostname / --no-assert-hostname`|`Configuration.assert_hostname`| Direct property; tri-state |
59
59
|`--user-agent VALUE`|`ApiClient.user_agent`| Client setter: assigned on the `ApiClient` after construction in `AsanaSession.__init__`|
60
-
|`--set-default-header NAME=VALUE`|`ApiClient.set_default_header(name, value)`| Client setter: repeatable, parsed by `structured_arg.default_header_callback`; each pair applied after construction. Session-wide (rides every request) and overrides per-call `--header-params` on a key collision (SDK merges defaults on top); **not redacted in `--debug`** (see [SECURITY.md](../SECURITY.md)) |
60
+
|`--set-default-header NAME=VALUE`|`ApiClient.set_default_header(name, value)`| Client setter: repeatable, parsed by `structured_arg.default_header_callback`; each pair applied after construction. Session-wide (rides every request) and overrides per-call `--header-params` on a key collision (SDK merges defaults on top); in `--debug`**only `Authorization` / `Proxy-Authorization` values are redacted** — any other header name is logged verbatim (see [SECURITY.md](../SECURITY.md)) |
61
61
|`--retry-strategy VALUE`|`Configuration.retry_strategy`| Struct member: parsed by `structured_arg` (`RETRY_FIELD_SCHEMA`), applied as `retry_strategy.new(**overrides)` so unspecified fields keep the SDK defaults |
62
62
|`--connection-pool-maxsize N`|`Configuration.connection_pool_maxsize`| Direct property |
63
63
|`--access-token TOKEN`|`Configuration.access_token`| Direct property; default source `$ASANA_ACCESS_TOKEN`|
@@ -83,7 +83,7 @@ forwarded straight to the SDK call as a kwarg — no `runtime` round-trip.
83
83
|---|---|---|
84
84
|`--item-limit N`| per-call kwarg `item_limit`| Forwarded by `_make_command`|
85
85
|`--full-payload`| per-call kwarg `full_payload=True`| Forwarded by `_make_command`|
86
-
|`--header-params VALUE`| per-call kwarg `header_params`| Parsed by `structured_arg`; **not redacted in `--debug`** (see SECURITY.md) |
86
+
|`--header-params VALUE`| per-call kwarg `header_params`| Parsed by `structured_arg`; in `--debug`**only `Authorization` / `Proxy-Authorization` values are redacted** — any other header name is logged verbatim (see SECURITY.md) |
87
87
|`--request-timeout SECONDS`| per-call kwarg `_request_timeout`| Forwarded by `_make_command`; propagated to every page request by the SDK `PageIterator`|
88
88
89
89
The `--limit` / `--offset` flags are docstring-derived (per-method) and appear
0 commit comments