Skip to content

Commit

Permalink
docs: fix indent and add title to note in 'getting started' (#100)
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
lucyleeow authored Dec 18, 2023
1 parent f8acaa9 commit 6860657
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ give_me_a_string()
# give_me_a_string() missing 1 required positional argument: 's'
```

!!!note
!!!note "function defaults"
No dependency injection will be attempted for any parameters where a default value
is given, e.g.,:

```python
def get_things_name(thing: Thing = MyThing) -> str:
return thing.name
return thing.name
```

### Weights and provider priority
Expand Down

0 comments on commit 6860657

Please sign in to comment.