grr/server/grr_response_server/db.py
def ReadApprovalRequests(self,
                           requestor_username,
                           approval_type,
                           subject_id=None,
                           include_expired=False):
    """Reads approval requests of a given type for a given user.

    Args:
      requestor_username: Username of the user who has requested the approval.
      approval_type: Type of approvals to list.
      subject_id: String identifying the subject (client id, hunt id or cron job
        id). If not None, only approval requests for this subject will be
        returned.
      include_expired: If True, will also yield already expired approvals.

    Yields:
      rdfvalues.objects.ApprovalRequest objects.
    """
Reads approval requests of a given type for a given user.

    Args:
      requestor_username: Username of the user who has requested the approval.
      approval_type: Type of approvals to list.
      subject_id: String identifying the subject (client id, hunt id or cron job
        id). If not None, only approval requests for this subject will be
        returned.
      include_expired: If True, will also yield already expired approvals.

    Yields:
      rdfvalues.objects.ApprovalRequest objects.
    
Reads approval requests of a given type for a given user.
Reads approval requests of a given type for a given user .
def ReadApprovalRequests(self,
                           requestor_username,
                           approval_type,
                           subject_id=None,
                           include_expired=False):
def ReadApprovalRequests ( self , requestor_username , approval_type , subject_id = None , include_expired = False ) :
Reads approval requests of a given type for a given user.
Reads approval requests of a given type for a given user .
"""Reads approval requests of a given type for a given user.

    Args:
      requestor_username: Username of the user who has requested the approval.
      approval_type: Type of approvals to list.
      subject_id: String identifying the subject (client id, hunt id or cron job
        id). If not None, only approval requests for this subject will be
        returned.
      include_expired: If True, will also yield already expired approvals.

    Yields:
      rdfvalues.objects.ApprovalRequest objects.
    """
None
self
requestor_username
Username of the user who has requested the approval.
Username of the user who has requested the approval .
approval_type
Type of approvals to list.
Type of approvals to list .
subject_id
String identifying the subject (client id, hunt id or cron job
id). If not None, only approval requests for this subject will be
returned.
String identifying the subject ( client id hunt id or cron job id ) . If not None only approval requests for this subject will be returned .
include_expired
If True, will also yield already expired approvals.
If True will also yield already expired approvals .