Skip to content

Commit 3494b30

Browse files
Use birthday, not age on original example (#414)
1 parent f3462f0 commit 3494b30

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ We'd love anyone interested to contribute to the Logfire SDK and documentation.
55
## How to contribute
66

77
1. Fork and clone the repository
8-
2. [Install Rye](https://rye-up.com/guide/basics/)
8+
2. [Install Rye](https://rye.astral.sh/guide/installation/)
99
3. Run `make install` to install dependencies
1010
4. Run `make test` to run unit tests
1111
5. Run `make format` to format code

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ logfire.configure() # (1)!
8080

8181
logfire.info('Hello, {name}!', name='world') # (2)!
8282

83-
with logfire.span('Asking the user their {question}', question='age'): # (3)!
84-
user_input = input('How old are you [YYYY-mm-dd]? ')
83+
with logfire.span('Asking the user for their {question}', question='birthday'): # (3)!
84+
user_input = input('When were you born [YYYY-mm-dd]? ')
8585
dob = date.fromisoformat(user_input) # (4)!
8686
logfire.debug('{dob=} {age=!r}', dob=dob, age=date.today() - dob) # (5)!
8787
```

0 commit comments

Comments
 (0)