Commit df17af5
fix: skip model imports in types.py regardless of namespace
All TypedDict models are defined in the same types.py file, so cross-
namespace model imports also cause redefinition errors. Remove the
same_namespace check so any model that will be a TypedDict is never
imported from its models module.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent e6b1b52 commit df17af5
1 file changed
Lines changed: 4 additions & 4 deletions
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| |||
0 commit comments