MCPcopy Index your code
hub / github.com/pathwaycom/pathway / column_properties

Method column_properties

python/pathway/internals/column.py:407–414  ·  view source on GitHub ↗
(self, column: ColumnWithContext)

Source from the content-addressed store, hash-verified

405 return self._id_column.universe
406
407 def column_properties(self, column: ColumnWithContext) -> cp.ColumnProperties:
408 if isinstance(column, IdColumn):
409 return self._id_column_props
410 else:
411 assert isinstance(column, ColumnWithExpression)
412 expression = column.expression
413 assert isinstance(expression, ColumnReference)
414 return self._new_properties[expression._to_internal()]
415
416 def id_column_type(self) -> dt.DType:
417 return self._id_column_props.dtype

Callers

nothing calls this directly

Calls 1

_to_internalMethod · 0.45

Tested by

no test coverage detected