extract_arcadia_short_description

Documentation for eth_defi.erc_4626.vault_protocol.arcadia.description.extract_arcadia_short_description function.

extract_arcadia_short_description(description)

Extract the first sentence within the listing character budget.

Long sentences are cut at a word boundary with an ellipsis, rather than dropping a valid short description altogether.

Parameters

description (str) – Provider narrative or generated summary.

Returns

A summary of at most 200 characters.

Return type

str