normalise_text

Documentation for eth_defi.erc_4626.vault_protocol.arcadia.offchain_metadata.normalise_text function.

normalise_text(value)

Trim optional API text without coercing malformed objects to strings.

Missing and whitespace-only fields remain unknown.

Parameters

value (object) – Raw optional text field.

Returns

Trimmed text, or None.

Return type

Optional[str]