cancel_type
FunctionPrivateSource
_data: Any = cancel_type(data: Any)
Remove the typehint of a value with a known type.
It is equivalent with
_data = cast(Any, data)
Arguments
Requires
| Argument | Type | Required | |
|---|---|---|---|
data | Any | A value that has any notation. |
Returns
| Argument | Type | |
|---|---|---|
_data | Any | The same input data, while the notation is replaced by Any. |