Closed
Description
Running the tests locally, I get this SyntaxError:
File "C:\Users\t4rk\dev\plotly\dash\tests\test_integration.py", line 8, in <module>
import dash_flow_example
File "C:\Users\t4rk\dev\plotly\dash\venv\lib\site-packages\dash_flow_example\__init__.py", line 10, in <module>
'dash_flow_example'
File "C:\Users\t4rk\dev\plotly\dash\dash\development\component_loader.py", line 51, in load_components
namespace
File "C:\Users\t4rk\dev\plotly\dash\dash\development\base_component.py", line 441, in generate_class
exec(string, scope)
File "<string>", line 23
def __init__(self, id=Component.UNDEFINED, label=Component.REQUIRED, value=Component.UNDEFINED, options=Component.UNDEFINED, config=Component.UNDEFINED, encrypted_*=Component.UNDEFINED, **kwargs):
^
SyntaxError: invalid syntax
The invalid part:
encrypted_*=Component.UNDEFINED,
, cannot have a *
in a explicit keyword arg (would work in dict passed as kwargs).
When I comment the import dash_flow_example
, it works and it somehow works on circleci.
Metadata
Metadata
Assignees
Labels
No labels