pydantic-to-typescript icon indicating copy to clipboard operation
pydantic-to-typescript copied to clipboard

exclude not working

Open abhinavdayal opened this issue 9 months ago • 0 comments

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

abhinavdayal avatar Jan 30 '25 08:01 abhinavdayal