(pagination_config)
| 306 | |
| 307 | |
| 308 | def _get_all_cli_input_tokens(pagination_config): |
| 309 | # Get all input tokens including the limit_key |
| 310 | # if it exists. |
| 311 | tokens = _get_input_tokens(pagination_config) |
| 312 | for token_name in tokens: |
| 313 | cli_name = xform_name(token_name, '-') |
| 314 | yield cli_name |
| 315 | if 'limit_key' in pagination_config: |
| 316 | key_name = pagination_config['limit_key'] |
| 317 | cli_name = xform_name(key_name, '-') |
| 318 | yield cli_name |
| 319 | |
| 320 | |
| 321 | # Get all tokens but return them in API namespace rather than CLI namespace |
no test coverage detected