Passing arguments to a reactive class init raises an error. e.g.
from anvil_reactive.main import reactive_class
@reactive_class
class TestClass:
def __init__(self, name):
self.name = name
test = TestClass("meatballs")
raises:
TypeError: object.__new__() takes exactly one argument (the type to instantiate)
at app/anvil_reactive/main/_reactive_class.py:34
Passing arguments to a reactive class init raises an error. e.g.
raises:
Clone link for an MWE with the code example above: https://anvil.works/build#clone:TYYDSAAN6CCCFTGG=55NWIEQJ3F6HGYVUZPMRZGNI