Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/openstack/instance_ha/v1/__pycache__/_proxy.cpython-39.pyc
Ðазад
a u�h^# � @ s^ d dl mZ d dlmZ d dlmZ d dlmZ d dl m Z d dl m Z G dd� de j�Zd S ) � )� exceptions)�host)�notification)�segment)�proxy)�resourcec @ s~ e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z ddd�Zdd� Zdd� Z ddd�Zdd� Zd dd�ZdS )!�ProxyzZProxy class for ha resource handling. Create method for each action of each API. c K s | j tjfi |��S )z�Return a generator of notifications. :param kwargs query: Optional query parameters to be sent to limit the notifications being returned. :returns: A generator of notifications )�_list� _notification�Notification��self�query� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/openstack/instance_ha/v1/_proxy.py� notifications s zProxy.notificationsc C s | � tj|�S )a� Get a single notification. :param notification: The value can be the ID of a notification or a :class: `~masakariclient.sdk.ha.v1 .notification.Notification` instance. :returns: One :class:`~masakariclient.sdk.ha.v1 .notification.Notification` :raises: :class:`~openstack.exceptions.ResourceNotFound` when no resource can be found. )�_getr r )r r r r r �get_notification&