Skip to content

Commit 4840ea4

Browse files
authored
docs: remove dashes and stray contrasts from prose (#86)
1 parent d1e6b9e commit 4840ea4

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎AGENTS.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
66

77
`modern-di-faststream` is a FastStream adapter over
88
[`modern-di`](https://github.com/modern-python/modern-di); [`CONTEXT.md`](CONTEXT.md) opens with
9-
what it does and owns the vocabulary — read it before naming a concept in code, a test name, or an
9+
what it does and owns the vocabulary. Read it before naming a concept in code, a test name, or an
1010
issue title. It is one of that project's integrations, each of which lives in a separate repository
1111
and ships as a separate PyPI package.
1212

1313
## Commands
1414

15-
`just` (task runner) and `uv` (package manager). The [`justfile`](justfile) is the source of truth —
15+
`just` (task runner) and `uv` (package manager). The [`justfile`](justfile) is the source of truth:
1616
`just --list`, or read it.
1717

1818
## Architecture

‎CONTEXT.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A term is listed only when there is a synonym to reject, or a meaning subtle eno
1010
docs must agree on it. General programming vocabulary does not belong here, however heavily this
1111
package uses it.
1212

13-
The domain terms are `modern-di`'s — `Container`, `Provider`, `Group`, `Scope`, `Resolution`,
13+
The domain terms are `modern-di`'s: `Container`, `Provider`, `Group`, `Scope`, `Resolution`,
1414
`Override`. That project's `CONTEXT.md` is the authority for all of them; nothing here redefines
1515
one. FastStream owns `broker`, `subscriber`, `middleware`, and `StreamMessage`, and this package
1616
uses each in FastStream's sense. The three below are this package's own.
@@ -19,18 +19,18 @@ uses each in FastStream's sense. The three below are this package's own.
1919
The `Container` handed to `setup_di` and stored on the app's `ContextRepo`; `fetch_di_container`
2020
reads it back. By default its lifetime tracks the app's, reopened on startup and closed after shutdown;
2121
with `manage_lifespan=False` the user opens and closes it instead.
22-
_Avoid_: app container, app-scoped container — accurate but unnamed; the code calls it the root
22+
_Avoid_: app container, app-scoped container. Both are accurate but unnamed; the code calls it the root
2323
container, and one of the two names has to win.
2424

2525
**Request container**:
2626
The child container the middleware builds for one message and closes when that message is done.
2727
It is where a `FromDI` parameter resolves.
2828
_Avoid_: message container, per-message container. It is built per message, but its name comes
29-
from its scope — `Scope.REQUEST` — so that a reader can match it to modern-di's scope ladder.
29+
from its scope, `Scope.REQUEST`, so that a reader can match it to modern-di's scope ladder.
3030

3131
**Message**:
3232
FastStream's `StreamMessage`, and this integration's whole notion of a unit of work. It is the
33-
`Connection` in modern-di's sense — the framework object a unit of work carries — which is why
33+
`Connection` in modern-di's sense (the framework object a unit of work carries), which is why
3434
`faststream_message_provider` is a `ContextProvider` at `Scope.REQUEST` and why there is only ever
3535
one connection type to derive a child scope from. `REQUEST` here names a scope band, never an HTTP
3636
request; nothing in this package speaks HTTP.

0 commit comments

Comments
 (0)