
    (ph:	              	          S r SSKrSSKJr   " S S\R                  \R
                  " SS5      5      r " S S\R                  \R
                  " SS	5      5      r\" \R                  R                  R                  SSSS5      rS
 rS rg)z;Utilities for use with the base interface of RPC Framework.    N)basec                       \ rS rSrSrSrg)_Completion   z,A trivial implementation of base.Completion. N__name__
__module____qualname____firstlineno____doc____static_attributes__r       [/var/www/html/venv/lib/python3.13/site-packages/grpc/framework/interfaces/base/utilities.pyr   r      s     7r   r   terminal_metadatacodemessagec                       \ rS rSrSrSrg)_Subscription#   z.A trivial implementation of base.Subscription.r   Nr   r   r   r   r   r   #   s     9r   r   )kindtermination_callback	allowanceoperatorprotocol_receiverc                     [        XU5      $ )a$  Creates a base.Completion aggregating the given operation values.

Args:
  terminal_metadata: A terminal metadata value for an operation.
  code: A code value for an operation.
  message: A message value for an operation.

Returns:
  A base.Completion aggregating the given operation values.
)r   r   s      r   
completionr   8   s     (88r   c                 b    [        [        R                  R                  R                  SSX5      $ )aL  Creates a "full" base.Subscription for the given base.Operator.

Args:
  operator: A base.Operator to be used in an operation.
  protocol_receiver: A base.ProtocolReceiver to be used in an operation.

Returns:
  A base.Subscription of kind base.Subscription.Kind.FULL wrapping the given
    base.Operator and base.ProtocolReceiver.
N)r   r   SubscriptionKindFULL)r   r   s     r   full_subscriptionr#   F   s,     ##T4 r   )r   collectionsgrpc.framework.interfaces.baser   
Completion
namedtupler   r    r   r!   NONE_NONE_SUBSCRIPTIONr   r#   r   r   r   <module>r*      s    B  /7OO	
79	
	9  #tT4 
9r   