Skip to content

Commit 6df7c02

Browse files
committed
Fixed pr comments.
1 parent b5a711c commit 6df7c02

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/providers/context-resources.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@ Trying to resolve a `ContextResource` without first entering `container_context`
140140

141141
```python
142142
value = MyContainer.sync_resource.resolve_sync()
143-
> RuntimeError: Context is not set.Use
144-
container_context
143+
> RuntimeError: Context is not set. Use container_context
145144
```
146145

147146
### Resolving async and sync dependencies

docs/providers/factories.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ The `.provider` property gives you an *async function* to await, and `.provider_
8585

8686
```python
8787
# In a synchronous function or interactive session
88-
>> > msg = MyContainer.sync_message.provider_sync
89-
>> > print(msg)
88+
>>> msg = MyContainer.sync_message.provider_sync
89+
>>> print(msg)
9090
Hello from sync provider!
9191
```
9292

0 commit comments

Comments
 (0)