Skip to content

AccountDescriptorRepository

AccountDescriptor ⚓︎

AccountDescriptor

Represents an account.

__init__(descriptor_yaml) ⚓︎

AccountDescriptor.__init__

Creates a descriptor from a yaml container.

AccountDescriptorRepository ⚓︎

AccountDescriptorRepository

Loads read-only account descriptors from YAML.

__init__(yaml_input) ⚓︎

AccountDescriptorRepository.__init__

Loads account descriptors from the specified input.

find_all_by_role(role) ⚓︎

AccountDescriptorRepository.find_all_by_role

Finds all account descriptors with a matching role.

find_by_address(address) ⚓︎

AccountDescriptorRepository.find_by_address

Finds the account descriptor with a matching address.

find_by_public_key(public_key) ⚓︎

AccountDescriptorRepository.find_by_public_key

Finds the account descriptor with a matching public key.

to_type_parsing_rules_map(type_to_property_mapping) ⚓︎

AccountDescriptorRepository.to_type_parsing_rules_map

Builds a type to parsing rule map.

try_find_by_name(name) ⚓︎

AccountDescriptorRepository.try_find_by_name

Finds the account descriptor with a matching name or None if no matching descriptors are found.