Commit 1c06a0b
authored
[feat] Disable pyright checking field Pydantic field aliases (#102)
Why
===
If we ignore the alias field, we can use pyright to typecheck python
generated clients.
What changed
============
Reflow the field assignment to permit ignoring type aliases like
`alias="$kind"`
Test plan
=========
Manually ran against production services, typechecked OK1 parent 988c540 commit 1c06a0b
1 file changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
407 | 414 | | |
408 | 415 | | |
409 | 416 | | |
410 | 417 | | |
411 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
412 | 426 | | |
413 | 427 | | |
414 | 428 | | |
| |||
0 commit comments