refact: move id and name to flux

This commit is contained in:
2025-01-05 15:50:51 +01:00
parent e4af62b136
commit 041e459ca0
3 changed files with 11 additions and 4 deletions

View File

@@ -21,9 +21,11 @@ def test_consume_flux():
}
flux = Flux(
id="flux",
name="flux",
sources=sources,
targets=targets,
transformation=Transformation(name="func", function=func, extra_kwrds={"extra": "super"}),
transformation=Transformation(function=func, extra_kwrds={"extra": "super"}),
)
meta = consume_flux(flux)