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
after I decided to switch my application to async BAC0 (which made me some headaches, but in the end I could manage it somehow :-) ) I've stumbled upon a problem when trying to write description property of an object.
I could localize the problem to the cast_in function in the Text.py module.
_venv\Lib\site-packages\BAC0\core\functions\Text.py", line 48, in build_text_write_request
_value.cast_in(CharacterString(value))
TypeError: Any.cast_in() missing 1 required positional argument: 'element'
Checking back in code of BACpypes3 i found out, that the Any() value should be defined with argument or with none.
so changing the definition of _value in the Text.py from
_value = Any()
to
_value = Any(None)
solved the issue for me. Maybe you can checked that out and merge the change later on.
The text was updated successfully, but these errors were encountered:
Hello,
after I decided to switch my application to async BAC0 (which made me some headaches, but in the end I could manage it somehow :-) ) I've stumbled upon a problem when trying to write description property of an object.
I could localize the problem to the cast_in function in the Text.py module.
Checking back in code of BACpypes3 i found out, that the Any() value should be defined with argument or with none.
so changing the definition of _value in the Text.py from
_value = Any()
to
_value = Any(None)
solved the issue for me. Maybe you can checked that out and merge the change later on.
The text was updated successfully, but these errors were encountered: