Confusing behavior Machine(model=None) vs Machine() #703
Replies: 1 comment 1 reply
-
|
Hello @patrickwolf,
it used to be that way until the issue arose where some users wanted to initialize a machine without any model. We have chosen to use an explicit That being said, nothing is set in stone, and I am open to discussion if you have any suggestions on how to make the interface more intuitive. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Based on the readme I thought that Machine() and Machine(model=None) would show the same behavior which is that the states are created on the machine itself.
transitions/README.md
Lines 228 to 236 in 7ac5112
But this is not the case...
Minimal working example
Expected behavior
I would expect Machine(model=None) to have the same behavior as Machine() ie that the attributes are created on the Machine itself
Beta Was this translation helpful? Give feedback.
All reactions