Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/keystoneauth1/loading/__pycache__/conf.cpython-39.pyc
Ðазад
a s�h� � @ s� d dl Zd dlmZ d dlmZ d dlZejr:d dlm Z ej de� d�gdd�Zd Zej d ed�Z dZed d�dd�Zejejejj ef ed d�dd�Zdedd�dd�Zdeejejd d�dd�ZdS )� N)�base)�opts)�cfg� auth_typeZauth_pluginzAuthentication type to load)� deprecated�helpz9Config Section from which to load plugin specific options�auth_section)r )�get_common_conf_options�get_plugin_conf_options�register_conf_options�load_from_conf_optionszcfg.Opt)�returnc C s t �� t�� gS )a� Get the oslo_config options common for all auth plugins. These may be useful without being registered for config file generation or to manipulate the options before registering them yourself. The options that are set are: :auth_type: The name of the plugin to load. :auth_section: The config file section to load options from. :returns: A list of oslo_config options. )�_AUTH_TYPE_OPT�_to_oslo_opt�_AUTH_SECTION_OPT� r r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/keystoneauth1/loading/conf.pyr ) s r )�pluginr c C s, t | t�rt�| �}n| �� }dd� |D �S )aS Get the oslo_config options for a specific plugin. This will be the list of config options that is registered and loaded by the specified plugin. :param plugin: The name of the plugin loader or a plugin loader object :type plugin: str or keystoneauth1.loading.BaseLoader :returns: A list of oslo_config options. c S s g | ]}|� � �qS r �r ��.0�or r r � <listcomp>L � z+get_plugin_conf_options.<locals>.<listcomp>)� isinstance�strr Zget_plugin_options�get_options)r r r r r r 8 s r zcfg.ConfigOpts)�conf�groupr c C s<