We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16504d8 commit 32e10d3Copy full SHA for 32e10d3
pydra/utils/typing.py
@@ -75,14 +75,8 @@ class TypeParser(ty.Generic[T]):
75
(field.Integer, float),
76
(int, field.Decimal),
77
)
78
- + tuple(
79
- (f, f.primitive)
80
- for f in (field.Integer, field.Decimal, field.Boolean, field.Text)
81
- )
82
83
- (f.primitive, f)
84
85
+ + tuple((f, f.primitive) for f in field.Singular.subclasses() if f.primitive)
+ + tuple((f.primitive, f) for f in field.Singular.subclasses() if f.primitive)
86
87
88
if HAVE_NUMPY:
0 commit comments