Commit 3c8e545
committed
Keep Optional and union in valid_static_types
I'm keeping them here so as to avoid a potential bug, it's used in type
checking and it makes sense to keep it, I've added a second type for
Union using UnionType.
Consistency with the placement of None for optional arguments has also
been improved.
Signed-off-by: Chihurumnaya Ibiam <ibiamchihurumnaya@gmail.com>1 parent 5caa0c3 commit 3c8e545
File tree
3 files changed
+6
-228
lines changed- osprey_worker/src/osprey
- engine
- ast_validator/validators
- ast
- worker/ui_api/osprey/views/tests
3 files changed
+6
-228
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
| 414 | + | |
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
455 | | - | |
| 455 | + | |
456 | 456 | | |
457 | | - | |
| 457 | + | |
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| |||
613 | 613 | | |
614 | 614 | | |
615 | 615 | | |
616 | | - | |
| 616 | + | |
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
| |||
Lines changed: 0 additions & 222 deletions
This file was deleted.
0 commit comments