parse_protocol_docs
FunctionSource
v_1: DocProtocol = parse_protocol_docs(cls: type[Any])
Parse the docstring of a protocol class.
Arguments
Requires
| Name | Type | Required | |
|---|---|---|---|
cls | type[Any] | A class object to be parsed. |
Returns
| Name | Type | |
|---|---|---|
v_1 | DocProtocol | The parsed docstring of the protocol class. |