I want to understand what self means in the lambda function.
In the Locust tool I found this code :
import random
class WebsiteUser(HttpLocust):
task_set = UserBehaviour
wait_function = lambda self: random.expovariate(1)*1000
Can anyone explain what self means in the lambda function? Or in short what is happening in this lambda function?