You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was playing around the component model demo example listed in README. One issue I found with that is the python class Demo name is generated from the wasm file name. This is error-prone because I could rename the wasm name to demo.component.wasm and the generated Demo.component class name in Python is a syntax error.
How to reproduce
Go through the first demo example under the "Components" section. Change the commands to the following
Notice how "demo.wasm" is replaced with "demo.component.wasm".
Then notice that the generated python file contains syntax error because the Demo class name is now replaced with Demo.component class name in demo/__init__.py
The text was updated successfully, but these errors were encountered:
I was playing around the component model demo example listed in README. One issue I found with that is the python class
Demo
name is generated from the wasm file name. This is error-prone because I could rename the wasm name todemo.component.wasm
and the generatedDemo.component
class name in Python is a syntax error.How to reproduce
Go through the first demo example under the "Components" section. Change the commands to the following
Notice how "demo.wasm" is replaced with "demo.component.wasm".
Then notice that the generated python file contains syntax error because the
Demo
class name is now replaced withDemo.component
class name indemo/__init__.py
The text was updated successfully, but these errors were encountered: