grr/server/grr_response_server/db.py
def WriteApprovalRequest(self, approval_request):
    """Writes an approval request object.

    Args:
      approval_request: rdfvalues.objects.ApprovalRequest object. Note:
        approval_id and timestamps provided inside the argument object will be
        ignored. Values generated by the database will be used instead.

    Returns:
      approval_id: String identifying newly created approval request.
                   Approval id is unique among approval ids for the same
                   username. I.e. there can be no 2 approvals with the same id
                   for the same username.
    """
Writes an approval request object.

    Args:
      approval_request: rdfvalues.objects.ApprovalRequest object. Note:
        approval_id and timestamps provided inside the argument object will be
        ignored. Values generated by the database will be used instead.

    Returns:
      approval_id: String identifying newly created approval request.
                   Approval id is unique among approval ids for the same
                   username. I.e. there can be no 2 approvals with the same id
                   for the same username.
    
Writes an approval request object.
Writes an approval request object .
def WriteApprovalRequest(self, approval_request):
def WriteApprovalRequest ( self , approval_request ) :
Writes an approval request object.
Writes an approval request object .
"""Writes an approval request object.

    Args:
      approval_request: rdfvalues.objects.ApprovalRequest object. Note:
        approval_id and timestamps provided inside the argument object will be
        ignored. Values generated by the database will be used instead.

    Returns:
      approval_id: String identifying newly created approval request.
                   Approval id is unique among approval ids for the same
                   username. I.e. there can be no 2 approvals with the same id
                   for the same username.
    """
String identifying newly created approval request.
Approval id is unique among approval ids for the same
username. I.e. there can be no 2 approvals with the same id
for the same username.
String identifying newly created approval request . Approval id is unique among approval ids for the same username . I . e . there can be no 2 approvals with the same id for the same username .
approval_id
self
approval_request
rdfvalues.objects.ApprovalRequest object. Note:
approval_id and timestamps provided inside the argument object will be
ignored. Values generated by the database will be used instead.
rdfvalues . objects . ApprovalRequest object . Note : approval_id and timestamps provided inside the argument object will be ignored . Values generated by the database will be used instead .