pydantic-to-typescript
pydantic-to-typescript copied to clipboard
exclude not working
Even though I include --exclude ModelName, I still see that model in the output.
This is true for imported modules in the file.
from abc import Xyz
class PQR(BaseModel):
x: Xyz
Now if I export it will also export Xyz
if I do --exclude Xyz it still exports it
If I do --exclude PQR then it still export Xyz but not PQR