Skip to content

Commit cfc49f8

Browse files
ltdt-apexKludex
andauthored
fix: add missing import in example code (#805)
Co-authored-by: Marcelo Trylesinski <[email protected]>
1 parent ba4aae4 commit cfc49f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/concepts.md

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ In this example:
4343
3. Logfire calculates the age from the `dob` and displays age in the debug message
4444

4545
```py
46+
from datetime import date
47+
48+
import logfire
49+
4650
logfire.configure()
4751

4852
with logfire.span('Asking the user for their {question}', question='birthday'): # (1)!

0 commit comments

Comments
 (0)