Skip to content

Commit

Permalink
move note to correct place in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Holmberg committed Jun 16, 2024
1 parent 93578bb commit 1fc3143
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@ of locust scripts (since the Environment instance hasn't been created when the l
:members:


.. note::

It's highly recommended that you add a wildcard keyword argument in your event listeners
to prevent your code from breaking if new arguments are added in a future version.

EventHook class
---------------

Expand All @@ -122,12 +127,6 @@ The event hooks are instances of the **locust.events.EventHook** class:
.. autoclass:: locust.event.EventHook
:members:

.. note::

It's highly recommended that you add a wildcard keyword argument in your event listeners
to prevent your code from breaking if new arguments are added in a future version.


Runner classes
=====================

Expand Down

0 comments on commit 1fc3143

Please sign in to comment.