Skip to content

Commit

Permalink
Run pre-commit checks
Browse files Browse the repository at this point in the history
  • Loading branch information
kdaily committed Dec 16, 2024
1 parent 04f64fc commit 6dfac82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions awscli/customizations/paginate.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ def add_paging_description(help_command, **kwargs):
return
help_command.doc.style.new_paragraph()
help_command.doc.writeln(

f'``{help_command.name}`` is a paginated operation. Multiple API calls may be issued '
'in order to retrieve the entire data set of results. You can '
'disable pagination by providing the ``--no-paginate`` argument.'

)
# Only include result key information if it is present.
if paginator_config.get('result_key'):
Expand All @@ -121,11 +121,11 @@ def add_paging_description(help_command, **kwargs):
queries = [queries]
queries = ", ".join([(f'``{s}``') for s in queries])
help_command.doc.writeln(

'When using ``--output text`` and the ``--query`` argument on a '
'paginated response, the ``--query`` argument must extract data '
f'from the results of the following query expressions: {queries}'

)


Expand Down

0 comments on commit 6dfac82

Please sign in to comment.