I’m using FormAction and write
__init__ method in it to set some values there which I used later in the forms different functions.
When two users in parallel write message to the bot, both session is using one CustomFormAction object. When one session sets self.param1, different user session see this variable.
My question is: Is there one object shared to several parallel session or I’m doing something wrong?
class CustomFormAction(FormAction): def __init__(self): self.param1 = None self.param2 = None def name(self) -> Text: return "custom form"