|
8350 | 8350 | +------------------------------------------------------------------------------+ |
8351 | 8351 |
|
8352 | 8352 |
|
| 8353 | + ''' |
| 8354 | +# --- |
| 8355 | +# name: test_help_messages[dcm.refresh] |
| 8356 | + ''' |
| 8357 | + |
| 8358 | + Usage: root dcm refresh [OPTIONS] IDENTIFIER |
| 8359 | + |
| 8360 | + Refreshes dynamic tables defined in DCM project. |
| 8361 | + |
| 8362 | + +- Arguments ------------------------------------------------------------------+ |
| 8363 | + | * identifier TEXT Identifier of the DCM Project; for example: | |
| 8364 | + | MY_PROJECT | |
| 8365 | + | [required] | |
| 8366 | + +------------------------------------------------------------------------------+ |
| 8367 | + +- Options --------------------------------------------------------------------+ |
| 8368 | + | --help -h Show this message and exit. | |
| 8369 | + +------------------------------------------------------------------------------+ |
| 8370 | + +- Connection configuration ---------------------------------------------------+ |
| 8371 | + | --connection,--environment -c TEXT Name of the connection, as | |
| 8372 | + | defined in your config.toml | |
| 8373 | + | file. Default: default. | |
| 8374 | + | --host TEXT Host address for the | |
| 8375 | + | connection. Overrides the | |
| 8376 | + | value specified for the | |
| 8377 | + | connection. | |
| 8378 | + | --port INTEGER Port for the connection. | |
| 8379 | + | Overrides the value specified | |
| 8380 | + | for the connection. | |
| 8381 | + | --account,--accountname TEXT Name assigned to your | |
| 8382 | + | Snowflake account. Overrides | |
| 8383 | + | the value specified for the | |
| 8384 | + | connection. | |
| 8385 | + | --user,--username TEXT Username to connect to | |
| 8386 | + | Snowflake. Overrides the | |
| 8387 | + | value specified for the | |
| 8388 | + | connection. | |
| 8389 | + | --password TEXT Snowflake password. Overrides | |
| 8390 | + | the value specified for the | |
| 8391 | + | connection. | |
| 8392 | + | --authenticator TEXT Snowflake authenticator. | |
| 8393 | + | Overrides the value specified | |
| 8394 | + | for the connection. | |
| 8395 | + | --workload-identity-provider TEXT Workload identity provider | |
| 8396 | + | (AWS, AZURE, GCP, OIDC). | |
| 8397 | + | Overrides the value specified | |
| 8398 | + | for the connection | |
| 8399 | + | --private-key-file,--privat… TEXT Snowflake private key file | |
| 8400 | + | path. Overrides the value | |
| 8401 | + | specified for the connection. | |
| 8402 | + | --token TEXT OAuth token to use when | |
| 8403 | + | connecting to Snowflake. | |
| 8404 | + | --token-file-path TEXT Path to file with an OAuth | |
| 8405 | + | token to use when connecting | |
| 8406 | + | to Snowflake. | |
| 8407 | + | --database,--dbname TEXT Database to use. Overrides | |
| 8408 | + | the value specified for the | |
| 8409 | + | connection. | |
| 8410 | + | --schema,--schemaname TEXT Database schema to use. | |
| 8411 | + | Overrides the value specified | |
| 8412 | + | for the connection. | |
| 8413 | + | --role,--rolename TEXT Role to use. Overrides the | |
| 8414 | + | value specified for the | |
| 8415 | + | connection. | |
| 8416 | + | --warehouse TEXT Warehouse to use. Overrides | |
| 8417 | + | the value specified for the | |
| 8418 | + | connection. | |
| 8419 | + | --temporary-connection -x Uses a connection defined | |
| 8420 | + | with command line parameters, | |
| 8421 | + | instead of one defined in | |
| 8422 | + | config | |
| 8423 | + | --mfa-passcode TEXT Token to use for multi-factor | |
| 8424 | + | authentication (MFA) | |
| 8425 | + | --enable-diag Whether to generate a | |
| 8426 | + | connection diagnostic report. | |
| 8427 | + | --diag-log-path TEXT Path for the generated | |
| 8428 | + | report. Defaults to system | |
| 8429 | + | temporary directory. | |
| 8430 | + | --diag-allowlist-path TEXT Path to a JSON file that | |
| 8431 | + | contains allowlist | |
| 8432 | + | parameters. | |
| 8433 | + | --oauth-client-id TEXT Value of client id provided | |
| 8434 | + | by the Identity Provider for | |
| 8435 | + | Snowflake integration. | |
| 8436 | + | --oauth-client-secret TEXT Value of the client secret | |
| 8437 | + | provided by the Identity | |
| 8438 | + | Provider for Snowflake | |
| 8439 | + | integration. | |
| 8440 | + | --oauth-authorization-url TEXT Identity Provider endpoint | |
| 8441 | + | supplying the authorization | |
| 8442 | + | code to the driver. | |
| 8443 | + | --oauth-token-request-url TEXT Identity Provider endpoint | |
| 8444 | + | supplying the access tokens | |
| 8445 | + | to the driver. | |
| 8446 | + | --oauth-redirect-uri TEXT URI to use for authorization | |
| 8447 | + | code redirection. | |
| 8448 | + | --oauth-scope TEXT Scope requested in the | |
| 8449 | + | Identity Provider | |
| 8450 | + | authorization request. | |
| 8451 | + | --oauth-disable-pkce Disables Proof Key for Code | |
| 8452 | + | Exchange (PKCE). Default: | |
| 8453 | + | False. | |
| 8454 | + | --oauth-enable-refresh-toke… Enables a silent | |
| 8455 | + | re-authentication when the | |
| 8456 | + | actual access token becomes | |
| 8457 | + | outdated. Default: False. | |
| 8458 | + | --oauth-enable-single-use-r… Whether to opt-in to | |
| 8459 | + | single-use refresh token | |
| 8460 | + | semantics. Default: False. | |
| 8461 | + | --client-store-temporary-cr… Store the temporary | |
| 8462 | + | credential. | |
| 8463 | + +------------------------------------------------------------------------------+ |
| 8464 | + +- Global configuration -------------------------------------------------------+ |
| 8465 | + | --format [TABLE|JSON|JSON_EXT| Specifies the output | |
| 8466 | + | CSV] format. | |
| 8467 | + | [default: TABLE] | |
| 8468 | + | --verbose -v Displays log entries | |
| 8469 | + | for log levels info | |
| 8470 | + | and higher. | |
| 8471 | + | --debug Displays log entries | |
| 8472 | + | for log levels debug | |
| 8473 | + | and higher; debug logs | |
| 8474 | + | contain additional | |
| 8475 | + | information. | |
| 8476 | + | --silent Turns off intermediate | |
| 8477 | + | output to console. | |
| 8478 | + | --enhanced-exit-codes Differentiate exit | |
| 8479 | + | error codes based on | |
| 8480 | + | failure type. | |
| 8481 | + | [env var: | |
| 8482 | + | SNOWFLAKE_ENHANCED_EX… | |
| 8483 | + | --decimal-precision INTEGER Number of decimal | |
| 8484 | + | places to display for | |
| 8485 | + | decimal values. Uses | |
| 8486 | + | Python's default | |
| 8487 | + | precision if not | |
| 8488 | + | specified. | |
| 8489 | + | [env var: | |
| 8490 | + | SNOWFLAKE_DECIMAL_PRE… | |
| 8491 | + +------------------------------------------------------------------------------+ |
| 8492 | + |
| 8493 | + |
8353 | 8494 | ''' |
8354 | 8495 | # --- |
8355 | 8496 | # name: test_help_messages[dcm.test] |
|
8522 | 8663 | | list-deployments Lists deployments of given DCM Project. | |
8523 | 8664 | | plan Plans a DCM Project deployment (validates without | |
8524 | 8665 | | executing). | |
| 8666 | + | refresh Refreshes dynamic tables defined in DCM project. | |
8525 | 8667 | | test Test all expectations set for tables, views and dynamic | |
8526 | 8668 | | tables defined in DCM project. | |
8527 | 8669 | +------------------------------------------------------------------------------+ |
|
22109 | 22251 | | list-deployments Lists deployments of given DCM Project. | |
22110 | 22252 | | plan Plans a DCM Project deployment (validates without | |
22111 | 22253 | | executing). | |
| 22254 | + | refresh Refreshes dynamic tables defined in DCM project. | |
22112 | 22255 | | test Test all expectations set for tables, views and dynamic | |
22113 | 22256 | | tables defined in DCM project. | |
22114 | 22257 | +------------------------------------------------------------------------------+ |
|
0 commit comments