Export FLOWS and build from the top-level fluksio package

A test of the declarations had to import them from fluksio.sdk while the
guide teaches `from fluksio import ...`. The worker's inert module gets the
same two names so a module importing them still loads inside a node.
This commit is contained in:
2026-09-16 16:44:47 +02:00
parent 02907bbe27
commit 42ea2e50ac
4 changed files with 29 additions and 2 deletions
+4
View File
@@ -415,6 +415,10 @@ finetune = Flow(
different message, keyword arguments override settings, and `id=` tells two
uses of one function apart. `train` above is unaffected by any of it.
A test can check the declarations without an engine. Importing the module
registers its flows in `fluksio.FLOWS`, and `fluksio.build(flow)` returns the
document `sync` would upload, refusing what the engine would refuse.
## Sync it
```sh