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

Method subtract_keys

python/pathway/internals/arg_tuple.py:94–95  ·  view source on GitHub ↗
(self, other: ArgTuple)

Source from the content-addressed store, hash-verified

92 return type(self)({k: v for k, v in self.items() if k in other})
93
94 def subtract_keys(self, other: ArgTuple) -> ArgTuple:
95 return type(self)({k: v for k, v in self.items() if k not in other})
96
97 def with_same_order(self, other: ArgTuple) -> ArgTuple:
98 assert self.is_key_subset_of(other)

Callers 1

__call__Method · 0.80

Calls 1

itemsMethod · 0.95

Tested by

no test coverage detected