Skip to content

Commit

Permalink
docs: clarification regarding stubgen fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dd84ai committed Jan 28, 2024
1 parent 787976b commit 0252512
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stubgen_fix.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
stubgen replaces NewType to Incomplete.
We discover files with NewType and
replace them in stubgen generated files back to NewType
This solution allows us easily still using NewTypes across our code
and having higher type safety
At the same time properly generated type safe stubs
"""
from pathlib import Path

Expand Down

0 comments on commit 0252512

Please sign in to comment.