I have a few widgets as items within a form_card, one of then being a stats widget. I want to reference it later in the code to update it. However, when I try to add a name="stats" argument, the IDE says it is an unexpected argument. When I try to run the Wave app, it throws the following error:
Error: stats() got an unexpected keyword argument ‘name’
This argument is also missing in some card widgets as well - ui.py
Wave SDK Version, OS
1.0, MacOS
Actual behavior
I have a few widgets as items within a
form_card
, one of then being astats
widget. I want to reference it later in the code to update it. However, when I try to add aname="stats"
argument, the IDE says it is an unexpected argument. When I try to run the Wave app, it throws the following error:Error: stats() got an unexpected keyword argument ‘name’
This argument is also missing in some card widgets as well - ui.py
Is there any other to reference a widget other than the square-bracket notation.
Expected behavior
The widget can be referenced like most other widgets (by-name component access).