• Get Review Board
  • What's New
  • Products
  • Review Board Code review, image review, and document review
  • Documentation
  • Release Notes
  • Power Pack Enterprise integrations, reports, and enhanced document review
  • Try for 60 Days
  • Purchase
  • RBCommons Review Board as a Service, hosted by us
  • Pricing
  • RBTools Command line tools and Python API for Review Board
  • Documentation
  • Release Notes
  • Review Bot Automated code review, connecting tools you already use
  • Documentation
  • Release Notes
  • RB Gateway Manage Git and Mercurial repositories in your network
  • Documentation
  • Release Notes
  • Learn and Explore
  • What is Code Review?
  • Documentation
  • Frequently Asked Questions
  • Support Options
  • Third-Party Integrations
  • Demo
  • Review Board RBTools Power Pack Review Bot Djblets RB Gateway
    1. Djblets 5.x
    2. Version 5.x
    3. Version 4.x
    4. Version 3.x
    5. Version 2.x
    6. Version 2.0
    7. Version 1.0
    8. Version 0.9
    9. Djblets Documentation
    10. Module and Class References
    11. djblets.registries.registry
  • Home
  • Guides
  • Avatar Services Guides
  • Writing Avatar Services
  • Extension Guides
  • Writing Extensions
  • Testing Extensions
  • Feature Checks Guides
  • Introduction to Feature Checks
  • Writing Features
  • Writing Feature Checkers
  • Testing with Feature Checks
  • Integration Guides
  • Supporting Integrations
  • Writing Integrations
  • Privacy Compliance Guides
  • Getting and Checking Consent
  • Working with Personally Identifiable Information
  • Service Integrations
  • reCAPTCHA Guides
  • Using reCAPTCHA
  • Registries Guides
  • Writing Registries
  • Web API Guides
  • Writing Web API Resources
  • Adding OAuth2 Support
  • Module and Class References
  • djblets
  • djblets.deprecation
  • djblets.auth.forms
  • djblets.auth.ratelimit
  • djblets.auth.signals
  • djblets.auth.util
  • djblets.auth.views
  • djblets.avatars.errors
  • djblets.avatars.forms
  • djblets.avatars.registry
  • djblets.avatars.services
  • djblets.avatars.services.base
  • djblets.avatars.services.fallback
  • djblets.avatars.services.file_upload
  • djblets.avatars.services.gravatar
  • djblets.avatars.services.url
  • djblets.avatars.settings
  • djblets.cache.backend
  • djblets.cache.backend_compat
  • djblets.cache.context_processors
  • djblets.cache.errors
  • djblets.cache.forwarding_backend
  • djblets.cache.serials
  • djblets.cache.synchronizer
  • djblets.conditions
  • djblets.conditions.choices
  • djblets.conditions.conditions
  • djblets.conditions.errors
  • djblets.conditions.operators
  • djblets.conditions.values
  • djblets.configforms.forms
  • djblets.configforms.mixins
  • djblets.configforms.pages
  • djblets.configforms.registry
  • djblets.configforms.views
  • djblets.datagrid.grids
  • djblets.db.backends.mysql.base
  • djblets.db.fields
  • djblets.db.fields.base64_field
  • djblets.db.fields.comma_separated_values_field
  • djblets.db.fields.counter_field
  • djblets.db.fields.json_field
  • djblets.db.fields.modification_timestamp_field
  • djblets.db.fields.relation_counter_field
  • djblets.db.managers
  • djblets.db.query
  • djblets.db.query_catcher
  • djblets.db.query_comparator
  • djblets.db.validators
  • djblets.extensions.admin
  • djblets.extensions.errors
  • djblets.extensions.extension
  • djblets.extensions.forms
  • djblets.extensions.hooks
  • djblets.extensions.loaders
  • djblets.extensions.manager
  • djblets.extensions.middleware
  • djblets.extensions.models
  • djblets.extensions.packaging
  • djblets.extensions.resources
  • djblets.extensions.settings
  • djblets.extensions.signals
  • djblets.extensions.staticfiles
  • djblets.extensions.testing
  • djblets.extensions.testing.testcases
  • djblets.extensions.urls
  • djblets.extensions.views
  • djblets.extensions.templatetags.djblets_extensions
  • djblets.features
  • djblets.features.checkers
  • djblets.features.decorators
  • djblets.features.errors
  • djblets.features.feature
  • djblets.features.level
  • djblets.features.registry
  • djblets.features.testing
  • djblets.features.templatetags.features
  • djblets.forms.fields
  • djblets.forms.fieldsets
  • djblets.forms.forms
  • djblets.forms.forms.key_value_form
  • djblets.forms.widgets
  • djblets.gravatars
  • djblets.gravatars.templatetags.gravatars
  • djblets.http.middleware
  • djblets.http.responses
  • djblets.integrations.errors
  • djblets.integrations.forms
  • djblets.integrations.hooks
  • djblets.integrations.integration
  • djblets.integrations.manager
  • djblets.integrations.mixins
  • djblets.integrations.models
  • djblets.integrations.urls
  • djblets.integrations.views
  • djblets.log
  • djblets.log.middleware
  • djblets.log.siteconfig
  • djblets.log.urls
  • djblets.log.views
  • djblets.mail.dmarc
  • djblets.mail.message
  • djblets.mail.testing
  • djblets.mail.utils
  • djblets.markdown
  • djblets.markdown.extensions.escape_html
  • djblets.markdown.extensions.wysiwyg
  • djblets.markdown.extensions.wysiwyg_email
  • djblets.pipeline.compilers.es6
  • djblets.pipeline.compilers.less
  • djblets.pipeline.compilers.mixins
  • djblets.pipeline.compilers.rollup
  • djblets.pipeline.compilers.typescript
  • djblets.pipeline.settings
  • djblets.privacy.consent
  • djblets.privacy.consent.base
  • djblets.privacy.consent.common
  • djblets.privacy.consent.errors
  • djblets.privacy.consent.forms
  • djblets.privacy.consent.hooks
  • djblets.privacy.consent.registry
  • djblets.privacy.consent.tracker
  • djblets.privacy.models
  • djblets.privacy.pii
  • djblets.privacy.templatetags.djblets_privacy
  • djblets.recaptcha.mixins
  • djblets.recaptcha.siteconfig
  • djblets.recaptcha.templatetags.djblets_recaptcha
  • djblets.recaptcha.widgets
  • djblets.registries
  • djblets.registries.errors
  • djblets.registries.importer
  • djblets.registries.mixins
  • djblets.registries.registry
  • djblets.registries.signals
  • djblets.secrets
  • djblets.secrets.crypto
  • djblets.secrets.token_generators
  • djblets.secrets.token_generators.base
  • djblets.secrets.token_generators.legacy_sha1
  • djblets.secrets.token_generators.registry
  • djblets.secrets.token_generators.vendor_checksum
  • djblets.siteconfig
  • djblets.siteconfig.admin
  • djblets.siteconfig.context_processors
  • djblets.siteconfig.django_settings
  • djblets.siteconfig.forms
  • djblets.siteconfig.managers
  • djblets.siteconfig.middleware
  • djblets.siteconfig.models
  • djblets.siteconfig.signals
  • djblets.siteconfig.views
  • djblets.template.caches
  • djblets.template.context
  • djblets.template.loaders.conditional_cached
  • djblets.template.loaders.namespaced_app_dirs
  • djblets.testing.decorators
  • djblets.testing.testcases
  • djblets.testing.testrunners
  • djblets.urls.context_processors
  • djblets.urls.decorators
  • djblets.urls.patterns
  • djblets.urls.resolvers
  • djblets.urls.root
  • djblets.urls.staticfiles
  • djblets.util.compat.django.core.cache
  • djblets.util.compat.python.past
  • djblets.util.contextmanagers
  • djblets.util.dates
  • djblets.util.decorators
  • djblets.util.filesystem
  • djblets.util.functional
  • djblets.util.html
  • djblets.util.http
  • djblets.util.humanize
  • djblets.util.json_utils
  • djblets.util.properties
  • djblets.util.serializers
  • djblets.util.symbols
  • djblets.util.templatetags.djblets_deco
  • djblets.util.templatetags.djblets_email
  • djblets.util.templatetags.djblets_forms
  • djblets.util.templatetags.djblets_images
  • djblets.util.templatetags.djblets_js
  • djblets.util.templatetags.djblets_utils
  • djblets.util.typing
  • djblets.util.views
  • djblets.views.generic.base
  • djblets.views.generic.etag
  • djblets.webapi.auth
  • djblets.webapi.auth.backends
  • djblets.webapi.auth.backends.api_tokens
  • djblets.webapi.auth.backends.base
  • djblets.webapi.auth.backends.basic
  • djblets.webapi.auth.backends.oauth2_tokens
  • djblets.webapi.auth.views
  • djblets.webapi.decorators
  • djblets.webapi.encoders
  • djblets.webapi.errors
  • djblets.webapi.fields
  • djblets.webapi.managers
  • djblets.webapi.models
  • djblets.webapi.oauth2_scopes
  • djblets.webapi.resources
  • djblets.webapi.resources.base
  • djblets.webapi.resources.group
  • djblets.webapi.resources.registry
  • djblets.webapi.resources.root
  • djblets.webapi.resources.user
  • djblets.webapi.resources.mixins.api_tokens
  • djblets.webapi.resources.mixins.forms
  • djblets.webapi.resources.mixins.oauth2_tokens
  • djblets.webapi.resources.mixins.queries
  • djblets.webapi.responses
  • djblets.webapi.signals
  • djblets.webapi.testing
  • djblets.webapi.testing.decorators
  • djblets.webapi.testing.testcases
  • General Index
  • Python Module Index
  • Release Notes
  • djblets.registries.registry¶

    Djblets registries.

    Registries are collections that keep track of unique objects.

    For information on writing registries, see the guide on writing registries.

    RegistryErrorsDict¶

    A mapping of error types to error messages.

    The error messages should be localized.

    New in version 3.3.

    alias of Dict[str, Union[str, StrPromise]]

    RegistryItemType[source]¶

    A generic type for items stored in a registry.

    This can be used for subclasses of Registry, mixins, or other utility code that need to stay generic. In normal usage, an explicit type will be provided when subclassing instead.

    New in version 3.1.

    alias of TypeVar(‘RegistryItemType’)

    ALREADY_REGISTERED: Final[str] = 'already_registered'¶

    Error code indicating an item is already registered.

    ATTRIBUTE_REGISTERED: Final[str] = 'attribute_registered'¶

    Error code indicating a lookup attribute value is already registered.

    INVALID_ATTRIBUTE: Final[str] = 'invalid_attribute'¶

    Error code indicating a lookup attribute isn’t supported by the registry.

    MISSING_ATTRIBUTE: Final[str] = 'missing_attribute'¶

    Error code indicating an item is missing a lookup attribute.

    UNREGISTER: Final[str] = 'unregister'¶

    Error code indicating an item is not registered when trying to unregister.

    NOT_REGISTERED: Final[str] = 'not_registered'¶

    Error code indicating an item is not registered when looking it up.

    LOAD_ENTRY_POINT: Final[str] = 'load_entry_point'¶

    Error indicating an error looking up an item via a Python Entry Point.

    DEFAULT_ERRORS: Final[Dict[str, Union[str, StrPromise]]] = {'already_registered': 'Could not register %(item)s: it is already registered.', 'attribute_registered': 'Could not register %(item)s: another item (%(duplicate)s) is already registered with %(attr_name)s = %(attr_value)s.', 'invalid_attribute': '"%(attr_name)s" is not a registered lookup attribute.', 'load_entry_point': 'Could not load entry point %(entry_point)s: %(error)s.', 'missing_attribute': 'Could not register %(item)s: it does not have a "%(attr_name)s" attribute.', 'not_registered': 'No item registered with %(attr_name)s = %(attr_value)s.', 'unregister': 'Could not unregister %(item)s: it is not registered.'}¶

    Default error messages for registries.

    class RegistryState(value, names=None, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶

    Bases: Enum

    The operations state of a registry.

    New in version 5.0.

    PENDING = 0[source]¶

    The registry is pending setup.

    POPULATING = 1[source]¶

    The registry is in the process of populating default items.

    READY = 2[source]¶

    The registry is populated and ready to be used.

    class Registry[source]¶

    Bases: Generic[RegistryItemType]

    An item registry.

    Item registries hold a set of objects that can be looked up by attributes. Each item is guaranteed to be unique and not share these attributes with any other item in the registry.

    Registries default to holding arbitrary objects. To limit objects to a specific type, specify a type when subclassing. For example:

    class MyRegistry(Registry[MyItemType]):
        ...
    

    Changed in version 5.0:

    • Registries now use a reentrant lock when populating, resetting, registering items, or unregistering items.

    • Added state for determining the current registry state.

    • Deprecated populated.

    • Added new hooks for customizing registry behavior with thread-safe guarantees: * on_item_registering(), * on_item_registered(), * on_item_unregistering() * on_item_unregistered(), * on_populating() * on_populated(), * on_resetting() * on_reset().

    Changed in version 3.1: Added support for specifying a registry item type when subclassing this registry.

    item_name: Optional[str] = None¶

    The name of the items being registered.

    Type:

    str

    lookup_attrs: Sequence[str] = []¶

    A list of attributes that items can be looked up by.

    Type:

    list of str

    errors: Dict[str, Union[str, StrPromise]] = {}¶

    Error formatting strings for exceptions.

    Entries here override the global DEFAULT_ERRORS dictionary for error messages.

    Type:

    dict

    default_errors: Dict[str, Union[str, StrPromise]] = {'already_registered': 'Could not register %(item)s: it is already registered.', 'attribute_registered': 'Could not register %(item)s: another item (%(duplicate)s) is already registered with %(attr_name)s = %(attr_value)s.', 'invalid_attribute': '"%(attr_name)s" is not a registered lookup attribute.', 'load_entry_point': 'Could not load entry point %(entry_point)s: %(error)s.', 'missing_attribute': 'Could not register %(item)s: it does not have a "%(attr_name)s" attribute.', 'not_registered': 'No item registered with %(attr_name)s = %(attr_value)s.', 'unregister': 'Could not unregister %(item)s: it is not registered.'}¶

    The default error formatting strings.

    If subclasses need to provide additional errors that can be overridden, they should copy DEFAULT_ERRORS and set their copy on the subclass as this attribute.

    Type:

    dict

    already_registered_error_class¶

    The error class indicating an already registered item.

    This must be a subclass of AlreadyRegisteredError.

    Type:

    type

    alias of AlreadyRegisteredError

    lookup_error_class¶

    The lookup error exception class.

    This must be a subclass of ItemLookupError.

    Type:

    type

    alias of ItemLookupError

    __init__() → None[source]¶

    Initialize the registry.

    state: RegistryState¶

    The current state of the registry.

    New in version 5.0.

    property populated: bool[source]¶

    Whether or not the registry is populated.

    This can be used to determine if the registry is populated (or in the process of being populated).

    Consumers should check state instead, for more precise tracking. This method is deprecated.

    Deprecated since version 5.0: This has been replaced by state and will be removed in Djblets 7.

    Returns:

    Whether or not the registry is populated.

    Return type:

    bool

    format_error(error_name: str, **error_kwargs) → str[source]¶

    Format an error message.

    Parameters:
    • error_name (str) – A symbolic name for the error, such as ALREADY_REGISTERED.

    • **error_kwargs (dict) – The keyword arguments to provide to the error-specific formatting string.

    Returns:

    The formatted error message.

    Return type:

    str

    Raises:

    ValueError – A registered error message for error_name could not be found.

    get(attr_name: str, attr_value: object) → RegistryItemType[source]¶

    Return an item by its attribute value.

    Parameters:
    • attr_name (str) – The attribute name to look up an item by.

    • attr_value (object) – The corresponding attribute value.

    Returns:

    The registered item.

    Return type:

    object

    Raises:

    djblets.registries.errors.ItemLookupError – When a lookup is attempted with an unsupported attribute, or the item cannot be found, this exception is raised.

    get_or_none(attr_name: str, attr_value: object) → Optional[RegistryItemType][source]¶

    Return the requested registered item, or None if not found.

    New in version 3.1.

    Parameters:
    • attr_name (str) – The attribute name.

    • attr_value (object) – The attribute value.

    Returns:

    The matching registered item, if found. Otherwise, None is returned.

    Return type:

    object

    register(item: RegistryItemType) → None[source]¶

    Register an item.

    Parameters:

    item (object) – The item to register with the class.

    Raises:
    • djblets.registries.errors.RegistrationError – Raised if the item is missing one of the required attributes.

    • djblets.registries.errors.AlreadyRegisteredError – Raised if the item is already registered or if the item shares an attribute name, attribute value pair with another item in the registry.

    unregister_by_attr(attr_name: str, attr_value: object) → None[source]¶

    Unregister an item from the registry by an attribute.

    Parameters:
    • attr_name (str) – The name of the attribute.

    • attr_value (object) – The attribute value.

    Raises:

    djblets.registries.errors.ItemLookupError – Raised if the attribute value is not found in the registry.

    unregister(item: RegistryItemType) → None[source]¶

    Unregister an item from the registry.

    Parameters:

    item (object) – The item to unregister. This must be present in the registry.

    Raises:

    djblets.registries.errors.ItemLookupError – Raised if the item is not found in the registry.

    populate() → None[source]¶

    Ensure the registry is populated.

    Calling this method when the registry is populated will have no effect.

    get_defaults() → Iterable[RegistryItemType][source]¶

    Return the default items for the registry.

    This method should be overridden by a subclass.

    Returns:

    The default items for the registry.

    Return type:

    list

    reset() → None[source]¶

    Unregister all items and mark the registry unpopulated.

    This will result in the registry containing no entries. Any call to a method that would populate the registry will repopulate it.

    on_item_registering(item: RegistryItemType, /) → None[source]¶

    Handle extra steps before registering an item.

    This can be used by subclasses to perform preparation steps before registering an item. It’s run before the item is validated and then registered.

    Validation can be performed in this method.

    The method is thread-safe.

    New in version 5.0.

    Parameters:

    item (object) – The item to register.

    Raises:

    djblets.registries.errors.RegistrationError – There’s an error registering this item.

    on_item_registered(item: RegistryItemType, /) → None[source]¶

    Handle extra steps after registering an item.

    This can be used by subclasses to perform additional steps when an item is registered. It’s run after the main registration occurs.

    The method is thread-safe.

    New in version 5.0.

    Parameters:

    item (object) – The item that was registered.

    on_item_unregistering(item: RegistryItemType, /) → None[source]¶

    Handle extra steps before unregistering an item.

    This can be used by subclasses to perform additional steps before validating and unregistering an item.

    The method is thread-safe.

    New in version 5.0.

    Parameters:

    item (object) – The item to unregister.

    on_item_unregistered(item: RegistryItemType, /) → None[source]¶

    Handle extra steps after unregistering an item.

    This can be used by subclasses to perform additional steps when an item is unregistered. It’s run after the main unregistration occurs.

    The method is thread-safe.

    New in version 5.0.

    Parameters:

    item (object) – The item that was unregistered.

    on_populating() → None[source]¶

    Handle extra steps before a registry is populated.

    This can be used by subclasses to perform additional steps before the registry is populated.

    The method is thread-safe.

    New in version 5.0.

    on_populated() → None[source]¶

    Handle extra steps after a registry is populated.

    This can be used by subclasses to perform additional steps after the registry is populated. It’s run after the main population occurs.

    The method is thread-safe.

    New in version 5.0.

    on_resetting() → None[source]¶

    Handle extra steps before resetting the registry.

    This can be used by subclasses to perform additional steps before the registry is reset. It’s run before the main reset operations occur.

    The method is thread-safe.

    New in version 5.0.

    on_reset() → None[source]¶

    Handle extra steps after a registry is reset.

    This can be used by subclasses to perform additional steps after the registry is reset. It’s run after the main reset operations occur.

    The method is thread-safe.

    New in version 5.0.

    __iter__() → Iterator[RegistryItemType][source]¶

    Iterate through all items in the registry.

    This method does not provide a stable ordering.

    Yields:

    object – The items registered in this registry.

    __len__() → int[source]¶

    Return the number of items in the registry.

    Returns:

    The number of items in the registry.

    Return type:

    int

    __contains__(item: RegistryItemType) → bool[source]¶

    Return whether or not the item is contained in the registry.

    Parameters:

    item (object) – The item to look for.

    Returns:

    Whether or not the item is contained in the registry.

    Return type:

    bool

    __annotations__ = {'_items': 'set[RegistryItemType]', '_lock': 'RLock', '_registry': 'dict[str, dict[object, RegistryItemType]]', 'already_registered_error_class': 'Type[AlreadyRegisteredError]', 'default_errors': 'RegistryErrorsDict', 'errors': 'RegistryErrorsDict', 'item_name': 'Optional[str]', 'lookup_attrs': 'Sequence[str]', 'lookup_error_class': 'Type[ItemLookupError]', 'state': 'RegistryState'}¶
    __orig_bases__ = (typing.Generic[~RegistryItemType],)¶
    __parameters__ = (~RegistryItemType,)¶
    class EntryPointRegistry[source]¶

    Bases: Registry[RegistryItemType]

    A registry that auto-populates from an entry-point.

    entry_point: Optional[str] = None¶

    The entry point name.

    Type:

    str

    get_defaults() → Iterable[RegistryItemType][source]¶

    Yield the values from the entry point.

    Yields:

    object – The object from the entry point.

    process_value_from_entry_point(entry_point: EntryPoint) → RegistryItemType[source]¶

    Return the item to register from the entry point.

    By default, this returns the loaded entry point.

    Parameters:

    entry_point (importlib.metadata.EntryPoint) – The entry point.

    Returns:

    The processed entry point value.

    Return type:

    object

    __annotations__ = {'_items': 'set[RegistryItemType]', '_lock': 'RLock', '_registry': 'dict[str, dict[object, RegistryItemType]]', 'already_registered_error_class': 'Type[AlreadyRegisteredError]', 'default_errors': 'RegistryErrorsDict', 'entry_point': 'Optional[str]', 'errors': 'RegistryErrorsDict', 'item_name': 'Optional[str]', 'lookup_attrs': 'Sequence[str]', 'lookup_error_class': 'Type[ItemLookupError]', 'state': 'RegistryState'}¶
    __orig_bases__ = (djblets.registries.registry.Registry[~RegistryItemType],)¶
    __parameters__ = (~RegistryItemType,)¶
    class OrderedRegistry[source]¶

    Bases: Registry[RegistryItemType]

    A registry that keeps track of registration order.

    __init__() → None[source]¶

    Initialize the OrderedRegistry

    __annotations__ = {}¶
    __orig_bases__ = (djblets.registries.registry.Registry[~RegistryItemType],)¶
    __parameters__ = (~RegistryItemType,)¶
    on_item_registered(item: RegistryItemType, /) → None[source]¶

    Handle extra steps before registering an item.

    This will place the item in sequential order.

    Subclasses that override this to perform additional post-registration operations must first call this method.

    New in version 5.0.

    Parameters:

    item (object) – The item that was registered.

    on_item_unregistered(item: RegistryItemType, /) → None[source]¶

    Handle extra steps after unregistering an item.

    Subclasses that override this to perform additional post-unregistration operations must first call this method.

    New in version 5.0.

    Parameters:

    item (object) – The item that was unregistered.

    __iter__() → Iterator[RegistryItemType][source]¶

    Yield the items in the order they were registered.

    Yields:

    object – The registered items.

    __getitem__(index: int) → RegistryItemType[source]¶

    Return an item by its registered index.

    Parameters:

    index (int) – The position at which the item was registered. This is 0-based and negative indices are supported.

    Returns:

    The requested item.

    Return type:

    object

    Raises:
    • IndexError – This exception is raised if the requested index is out of range.

    • TypeError – This exception is raised if the requested index is not an integer.

    Keep up with the latest Review Board releases, security updates, and helpful information.

    About
    News
    Demo
    RBCommons Hosting
    Integrations
    Happy Users
    Support Options
    Documentation
    FAQ
    User Manual
    RBTools
    Administration Guide
    Power Pack
    Release Notes
    Downloads
    Review Board
    RBTools
    Djblets
    Power Pack
    Package Store
    PGP Signatures
    Contributing
    Bug Tracker
    Submit Patches
    Development Setup
    Wiki
    Follow Us
    Mailing Lists
    Reddit
    Twitter
    Mastodon
    Facebook
    YouTube

    Copyright © 2006-2025 Beanbag, Inc. All rights reserved.

    Terms of Service — Privacy Policy — AI Ethics Policy — Branding

    On this page

    • [Top]
    • RegistryErrorsDict
    • RegistryItemType
    • ALREADY_REGISTERED
    • ATTRIBUTE_REGISTERED
    • INVALID_ATTRIBUTE
    • MISSING_ATTRIBUTE
    • UNREGISTER
    • NOT_REGISTERED
    • LOAD_ENTRY_POINT
    • DEFAULT_ERRORS
    • RegistryState
      • RegistryState.PENDING
      • RegistryState.POPULATING
      • RegistryState.READY
    • Registry
      • Registry.item_name
      • Registry.lookup_attrs
      • Registry.errors
      • Registry.default_errors
      • Registry.already_registered_error_class
      • Registry.lookup_error_class
      • Registry.__init__()
      • Registry.state
      • Registry.populated
      • Registry.format_error()
      • Registry.get()
      • Registry.get_or_none()
      • Registry.register()
      • Registry.unregister_by_attr()
      • Registry.unregister()
      • Registry.populate()
      • Registry.get_defaults()
      • Registry.reset()
      • Registry.on_item_registering()
      • Registry.on_item_registered()
      • Registry.on_item_unregistering()
      • Registry.on_item_unregistered()
      • Registry.on_populating()
      • Registry.on_populated()
      • Registry.on_resetting()
      • Registry.on_reset()
      • Registry.__iter__()
      • Registry.__len__()
      • Registry.__contains__()
      • Registry.__annotations__
      • Registry.__orig_bases__
      • Registry.__parameters__
    • EntryPointRegistry
      • EntryPointRegistry.entry_point
      • EntryPointRegistry.get_defaults()
      • EntryPointRegistry.process_value_from_entry_point()
      • EntryPointRegistry.__annotations__
      • EntryPointRegistry.__orig_bases__
      • EntryPointRegistry.__parameters__
    • OrderedRegistry
      • OrderedRegistry.__init__()
      • OrderedRegistry.__annotations__
      • OrderedRegistry.__orig_bases__
      • OrderedRegistry.__parameters__
      • OrderedRegistry.on_item_registered()
      • OrderedRegistry.on_item_unregistered()
      • OrderedRegistry.__iter__()
      • OrderedRegistry.__getitem__()