parse_optional_int_env

Documentation for eth_defi.tokenised_fund.securitize.backfill.parse_optional_int_env function.

parse_optional_int_env(name)

Read an optional integer block boundary from the environment.

Operators can use this only to narrow a controlled rerun. The normal path discovers the first contract-code block automatically.

Parameters

name (str) – Environment variable to parse.

Returns

Parsed integer, or None when it is unset.

Return type

Optional[int]