MCPcopy Create free account
hub / github.com/aws/aws-cli / add_paging_argument

Function add_paging_argument

awscli/customizations/paginate.py:236–244  ·  view source on GitHub ↗
(argument_table, arg_name, argument, shadowed_args)

Source from the content-addressed store, hash-verified

234
235
236def add_paging_argument(argument_table, arg_name, argument, shadowed_args):
237 if arg_name in argument_table:
238 # If there's already an entry in the arg table for this argument,
239 # this means we're shadowing an argument for this operation. We
240 # need to store this later in case pagination is turned off because
241 # we put these arguments back.
242 # See the comment in check_should_enable_pagination() for more info.
243 shadowed_args[arg_name] = argument_table[arg_name]
244 argument_table[arg_name] = argument
245
246
247def check_should_enable_pagination(

Callers 1

unify_paging_paramsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected