MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / inputs

Method inputs

misc/python/materialize/mzbuild.py:852–865  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

850
851 @cache
852 def inputs(self) -> set[str]:
853 deps = set()
854
855 for bin in self.bins:
856 crate = self.rd.cargo_workspace.crate_for_bin(bin)
857 deps |= self.rd.cargo_workspace.transitive_path_dependencies(crate)
858 for example in self.examples:
859 crate = self.rd.cargo_workspace.crate_for_example(example)
860 deps |= self.rd.cargo_workspace.transitive_path_dependencies(
861 crate, dev=True
862 )
863
864 inputs = super().inputs() | set(inp for dep in deps for inp in dep.inputs())
865 return inputs
866
867
868class Image:

Callers

nothing calls this directly

Calls 5

crate_for_binMethod · 0.80
crate_for_exampleMethod · 0.80
setFunction · 0.50
inputsMethod · 0.45

Tested by

no test coverage detected