var = client.get_node(ua.NodeId(2, 2)) var.set_value(ua.Variant([23], ua.VariantType.Int64)) print(var.get_data_value()) # DataValue(Value:Variant(val:[23],type:VariantType.Int64), StatusCode:StatusCode(Good), SourceTimestamp:2021-09-17 06:27:52.307762) print(var.get_value()) # [23]