Skip to content

Commit

Permalink
Update documentation for
Browse files Browse the repository at this point in the history
  • Loading branch information
klazuka committed Nov 7, 2022
1 parent 980de8d commit 8fc8fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locust/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(
If False, exceptions will be raised.
"""
self.parsed_options = parsed_options
"""Reference to the parsed command line options (used to pre-populate fields in Web UI). May be None when using Locust as a library"""
"""Reference to the parsed command line options (used to pre-populate fields in Web UI). When using Locust as library, this should either be `None` or an object created by `argument_parser.parse_args()`"""
self.available_user_classes = available_user_classes
"""List of the available User Classes to pick from in the UserClass Picker"""
self.available_shape_classes = available_shape_classes
Expand Down

0 comments on commit 8fc8fdf

Please sign in to comment.