Skip to content

Commit

Permalink
Fix inconsistency in DictFilterSpec docstring. (#2151)
Browse files Browse the repository at this point in the history
We mistakenly used `_name` in the literal rather than `_type`.
  • Loading branch information
thetorpedodog authored Feb 16, 2024
1 parent f4999d8 commit db548eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
The key ``_type`` is used as the name of the filter. Other entries in the
dictionary are passed as named arguments. For example,
``{"_name": "SomeFilter", "aggression": 5, "layers": 7}`` will call
``{"_type": "SomeFilter", "aggression": 5, "layers": 7}`` will call
``SomeFilter(aggression=5, layers=7)``."""
_FilterSpec = Union[str, _DictFilterSpec]
"""A declarative format for specifying filters:
Expand Down

0 comments on commit db548eb

Please sign in to comment.