erc7730.model.unions module

erc7730.model.unions.field_discriminator(v: Any) str | None[source]View on GitHub

Discriminator function for the Field union type.

Parameters:

v – deserialized raw data

Returns:

the discriminator tag

erc7730.model.unions.field_parameters_discriminator(v: Any) str | None[source]View on GitHub

Discriminator function for the FieldParameters union type.

Parameters:

v – deserialized raw data

Returns:

the discriminator tag