I seem to get this error often. I’m trying `hyper_...
# flytekit
r
I seem to get this error often. I’m trying
hyper_parameters: Tuple[int, int, float, float, float]
Copy code
raise RestrictedTypeError(f"Transformer for type {self.python_type} is restricted currently")
flytekit.core.type_engine.RestrictedTypeError: Transformer for type <class 'tuple'> is restricted currently
f
Tuple is a restricted type
Can you use dataclass or something
r
Of course! Was curious about the "restricted currently" - will this always be the case for tuples?
f
I think we will support in the future
šŸ™ 1
But no plans, unless you can contribute 😊
180 Views