Skip to content

Commit bf1dc11

Browse files
Fix typo (#102)
* Fix typo * Again
1 parent 08ff0b9 commit bf1dc11

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/user_guide/defining-schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A common pattern is to define these schemas in separate files and register them
1010
schema_filepath = Path("/path/to/schema.yaml")
1111

1212
logger = EventLogger()
13-
logger.register_event_schema(schema_file)
13+
logger.register_event_schema(schema_filepath)
1414
```
1515

1616
Note that a file path passed to `register_event_schema()` **must** be a Pathlib

docs/user_guide/first-event.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ handler = StreamHandler()
3939
logger.register_handler(handler)
4040
```
4141

42-
The logger knows about the event and where to send it; all that's left is to emit an instance of the event! To to do this, call the `.emit(...)` method and set the (required) `schema_id` and `data` arguments.
42+
The logger knows about the event and where to send it; all that's left is to emit an instance of the event! To do this, call the `.emit(...)` method and set the (required) `schema_id` and `data` arguments.
4343

4444
```python
4545
from jupyter_events import Event

0 commit comments

Comments
 (0)