Skip to content

Commit

Permalink
Add version added to docs for Transformer
Browse files Browse the repository at this point in the history
This was added in version 3.3.0, but has no marker that says that.

This change adds the marker to make it clear to users reading the
'stable' docs that this might not be available in their version.
  • Loading branch information
samueljsb authored and francoisfreitag committed Aug 16, 2023
1 parent e02146f commit 7e4ac86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,8 @@ Transformer

.. class:: Transformer(default_value, *, transform)

.. versionadded:: 3.3.0

A :class:`Transformer` applies a ``transform`` function to the provided value
before to set the transformed value on the generated object.

Expand Down

0 comments on commit 7e4ac86

Please sign in to comment.