(self, properties: Sequence)
| 215 | self.properties.append((prop, utils.unify_type(dtype))) |
| 216 | |
| 217 | def add_properties(self, properties: Sequence) -> None: |
| 218 | for prop in properties: |
| 219 | if isinstance(prop, str): |
| 220 | self.add_property(prop) |
| 221 | else: |
| 222 | self.add_property(prop[0], prop[1]) |
| 223 | |
| 224 | def get_attr(self) -> attr_value_pb2.Chunk: |
| 225 | chunk = attr_value_pb2.Chunk() |