Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreeOpcUa/python-opcua
/ to_variant
Function
to_variant
opcua/common/methods.py:84–90 ·
view source on GitHub ↗
(*args)
Source
from the content-addressed store, hash-verified
82
83
84
def
to_variant(*args):
85
uaargs = []
86
for
arg in args:
87
if
not isinstance(arg, ua.Variant):
88
arg = ua.Variant(arg)
89
uaargs.append(arg)
90
return
uaargs
Callers
2
call_method_full
Function · 0.85
wrapper
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected