strip_annotation_name
FunctionSource
v_1: str = strip_annotation_name(anno: Any)
Convert an annotation to string, and strip its name by removing the module prefix.
Arguments
Requires
| Name | Type | Required | |
|---|---|---|---|
anno | Any | An annotation object or string. The string should be converted from the annotation object. |
Returns
| Name | Type | |
|---|---|---|
v_1 | str | The revised string version of the giving annotation. |