Skip to content

Commit

Permalink
Change lines
Browse files Browse the repository at this point in the history
  • Loading branch information
kedod committed May 5, 2024
1 parent 5166f11 commit 631051c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage/dto/1-abstract-dto.rst
Original file line number Diff line number Diff line change
Expand Up @@ -353,13 +353,13 @@ Litestar offers paginated response wrapper types, and DTO Factory types can hand

.. literalinclude:: /examples/data_transfer_objects/factory/paginated_return_data.py
:language: python
:lines: 9-11,26-40
:lines: 9-11,22-39

.. dropdown:: Full Code (click to expand)

.. literalinclude:: /examples/data_transfer_objects/factory/paginated_return_data.py
:language: python
:emphasize-lines: 9,26-40
:emphasize-lines: 9,22-39

The DTO is defined and configured, in our example, we're excluding ``password`` and ``created_at`` fields from the final
representation of our users.
Expand Down

0 comments on commit 631051c

Please sign in to comment.