Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,8 @@ recording policy are its own responsibility.

This boundary intentionally does **not** create or finalize runs, mint IDs,
retry, checkpoint, persist business data, clean results, or manage result
lifetimes. The optional Fala execution and artifact adapters are separate; neither
is imported by the dependency-free core.
lifetimes. The optional Fala execution adapter is not imported by the
dependency-free core.

## Install

Expand All @@ -418,7 +418,7 @@ Core has no third-party runtime dependencies. Optional integrations are lazy:

```bash
pip install "datasource-kit[profiles]" # YAML profile loading
pip install "datasource-kit[fala]" # Fala execution + artifact adapters
pip install "datasource-kit[fala]"
pip install "datasource-kit[fastapi]" # FastAPI control-plane router
```

Expand Down Expand Up @@ -475,8 +475,8 @@ uv lock --check
uv run --group dev pytest
```

FastAPI adapter tests drive the router with `httpx2.AsyncClient` and
`ASGITransport` only.
The FastAPI adapter follows the consuming host's my-auth / my-usermanager pattern and imports FastAPI lazily inside the router factory.
Importing the adapter never pulls in FastAPI. Adapter tests drive the router with `httpx2.AsyncClient` and `ASGITransport` only.


### Fail-closed process lifecycle
Expand Down
3 changes: 0 additions & 3 deletions src/datasource_kit/adapters/fastapi.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
"""Optional FastAPI adapter: an ``APIRouter`` over :class:`WorkerControlPlane`.

Mirrors the ``fala`` artifact-store adapter (and, in the consuming host, the
my-auth / my-usermanager pattern): the third-party dependency is imported
lazily inside the factory, so importing this module never pulls in FastAPI.
Install the extra to use it::

pip install datasource-kit[fastapi]
Expand Down
Loading