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. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QgG6TJw5qBZzaLghQSRVrq
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user