Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/stevedore/__pycache__/hook.cpython-39.pyc
Ðазад
a n�hc � @ s d dl mZ G dd� de�ZdS )� )�NamedExtensionManagerc sF e Zd ZdZddi ddddf� fdd� Zd� fdd� Zd d � Z� ZS )�HookManagera� Coordinate execution of multiple extensions using a common name. :param namespace: The namespace for the entry points. :type namespace: str :param name: The name of the hooks to load. :type name: str :param invoke_on_load: Boolean controlling whether to invoke the object returned by the entry point after the driver is loaded. :type invoke_on_load: bool :param invoke_args: Positional arguments to pass when invoking the object returned by the entry point. Only used if invoke_on_load is True. :type invoke_args: tuple :param invoke_kwds: Named arguments to pass when invoking the object returned by the entry point. Only used if invoke_on_load is True. :type invoke_kwds: dict :param on_load_failure_callback: Callback function that will be called when an entrypoint can not be loaded. The arguments that will be provided when this is called (when an entrypoint fails to load) are (manager, entrypoint, exception) :type on_load_failure_callback: function :param verify_requirements: Use setuptools to enforce the dependencies of the plugin(s) being loaded. Defaults to False. :type verify_requirements: bool :type on_missing_entrypoints_callback: function :param warn_on_missing_entrypoint: Flag to control whether failing to load a plugin is reported via a log mess. Only applies if on_missing_entrypoints_callback is None. :type warn_on_missing_entrypoint: bool F� Nc s$ t � j||g||||||| d� d S )N)�invoke_on_load�invoke_args�invoke_kwds�on_load_failure_callback�on_missing_entrypoints_callback�verify_requirements�warn_on_missing_entrypoint)�super�__init__) �self� namespace�namer r r r r r r �� __class__r �~/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/stevedore/hook.pyr 2 s �zHookManager.__init__c s"