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

Method _update_cells

python/pathway/internals/table.py:1759–1772  ·  view source on GitHub ↗
(self, other: Table)

Source from the content-addressed store, hash-verified

1757 @contextualized_operator
1758 @check_arg_types
1759 def _update_cells(self, other: Table) -> Table:
1760 if not other._universe.is_subset_of(self._universe):
1761 raise ValueError(
1762 "Universe of the argument of Table.update_cells() needs to be "
1763 + "a subset of the universe of the updated table.\n"
1764 + "Consider using Table.promise_is_subset_of() to assert this.\n"
1765 + "(However, untrue assertion might result in runtime errors.)"
1766 )
1767 context = clmn.UpdateCellsContext(
1768 left=self._id_column,
1769 right=other._id_column,
1770 updates={name: other._columns[name] for name in other.keys()},
1771 )
1772 return self._table_with_context(context)
1773
1774 @trace_user_frame
1775 @check_arg_types

Callers 2

update_cellsMethod · 0.80
update_rowsMethod · 0.80

Calls 3

_table_with_contextMethod · 0.95
is_subset_ofMethod · 0.80
keysMethod · 0.45

Tested by

no test coverage detected