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

Method create

python/pathway/tests/utils.py:181–190  ·  view source on GitHub ↗
(
        pk_table: pw.Table,
        pk_columns: dict[str, api.Value],
        order: int,
        insertion: bool,
        row: dict[str, api.Value],
        instance: api.Value | None = None,
    )

Source from the content-addressed store, hash-verified

179
180 @staticmethod
181 def create(
182 pk_table: pw.Table,
183 pk_columns: dict[str, api.Value],
184 order: int,
185 insertion: bool,
186 row: dict[str, api.Value],
187 instance: api.Value | None = None,
188 ) -> DiffEntry:
189 key = DiffEntry.create_id_from(pk_table, pk_columns, instance=instance)
190 return DiffEntry(key, order, insertion, row)
191
192 def final_cleanup_entry(self):
193 return DiffEntry(self.key, self.order + 1, False, self.row)

Callers 15

checkout_repositoryFunction · 0.45
parse_image_detailsFunction · 0.45
__wrapped__Method · 0.45
embed_singleMethod · 0.45
__wrapped__Method · 0.45
__wrapped__Method · 0.45
test_stream_successFunction · 0.45
test_keep_results_manualFunction · 0.45
generate_expectedFunction · 0.45

Calls 2

DiffEntryClass · 0.85
create_id_fromMethod · 0.80