from tt_protocol.protocol import properties_pb2
from . import objects


def to_property(pb_property):
    return objects.Property(object_id=pb_property.object_id, type=
        pb_property.type, value=pb_property.value)


def from_property(property):
    return properties_pb2.Property(object_id=property.object_id, type=
        property.type, value=property.value)

1c61742f5de19217ffb83b657cbadc9bdceab103
<mask token>

<mask token>


def from_property(property):
    return properties_pb2.Property(object_id=property.object_id, type=
        property.type, value=property.value)

<mask token>


def to_property(pb_property):
    return objects.Property(object_id=pb_property.object_id, type=
        pb_property.type, value=pb_property.value)


def from_property(property):
    return properties_pb2.Property(object_id=property.object_id, type=
        property.type, value=property.value)

from tt_protocol.protocol import properties_pb2
from . import objects


def to_property(pb_property):
    return objects.Property(object_id=pb_property.object_id, type=
        pb_property.type, value=pb_property.value)


def from_property(property):
    return properties_pb2.Property(object_id=property.object_id, type=
        property.type, value=property.value)
