Skip to content

Commit

Permalink
examples(01_bootstrap): Assert random_row is not None for to_dict()
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Dec 10, 2023
1 parent 339fbc7 commit 2ed0a2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/01_bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ def run(unihan_options: t.Optional[t.Dict[str, object]] = None) -> None:

pprint.pprint(bootstrap.to_dict(random_row))

assert random_row is not None

pprint.pprint(random_row.to_dict()) # type:ignore


Expand Down

0 comments on commit 2ed0a2e

Please sign in to comment.