MCPcopy
hub / github.com/pathwaycom/pathway / _with_same_universe

Method _with_same_universe

python/pathway/internals/table.py:2590–2599  ·  view source on GitHub ↗
(
        self,
        *columns: tuple[str, clmn.Column],
        schema: type[Schema] | None = None,
    )

Source from the content-addressed store, hash-verified

2588 return f"<pathway.Table schema={dict(self.typehints())} id_type={id_dtype.typehint}>"
2589
2590 def _with_same_universe(
2591 self,
2592 *columns: tuple[str, clmn.Column],
2593 schema: type[Schema] | None = None,
2594 ) -> Table:
2595 return Table(
2596 _columns=dict(columns),
2597 _schema=schema,
2598 _context=self._rowwise_context,
2599 )
2600
2601 def _sort_columns_by_other(self, other: Table):
2602 assert self.keys() == other.keys()

Callers 4

selectMethod · 0.95
rename_columnsMethod · 0.95
withoutMethod · 0.95
_prepare_output_tableMethod · 0.80

Calls 1

TableClass · 0.85

Tested by

no test coverage detected