grr/server/grr_response_server/db.py
def ReadClientStats(self,
                      client_id,
                      min_timestamp = None,
                      max_timestamp = None
                     ):
    """Reads ClientStats for a given client and optional time range.

    Args:
      client_id: A GRR client id string, e.g. "C.ea3b2b71840d6fa7".
      min_timestamp: minimum rdfvalue.RDFDateTime (inclusive). If None,
        ClientStats since the retention date will be returned.
      max_timestamp: maximum rdfvalue.RDFDateTime (inclusive). If None,
        ClientStats up to the current time will be returned.
    Returns: A List of rdfvalues.client_stats.ClientStats instances, sorted by
      create_time.
    """
Reads ClientStats for a given client and optional time range.

    Args:
      client_id: A GRR client id string, e.g. "C.ea3b2b71840d6fa7".
      min_timestamp: minimum rdfvalue.RDFDateTime (inclusive). If None,
        ClientStats since the retention date will be returned.
      max_timestamp: maximum rdfvalue.RDFDateTime (inclusive). If None,
        ClientStats up to the current time will be returned.
    Returns: A List of rdfvalues.client_stats.ClientStats instances, sorted by
      create_time.
    
Reads ClientStats for a given client and optional time range.
Reads ClientStats for a given client and optional time range .
def ReadClientStats(self,
                      client_id,
                      min_timestamp = None,
                      max_timestamp = None
                     ):
def ReadClientStats ( self , client_id , min_timestamp = None , max_timestamp = None ) :
Reads ClientStats for a given client and optional time range.
Reads ClientStats for a given client and optional time range .
"""Reads ClientStats for a given client and optional time range.

    Args:
      client_id: A GRR client id string, e.g. "C.ea3b2b71840d6fa7".
      min_timestamp: minimum rdfvalue.RDFDateTime (inclusive). If None,
        ClientStats since the retention date will be returned.
      max_timestamp: maximum rdfvalue.RDFDateTime (inclusive). If None,
        ClientStats up to the current time will be returned.
    Returns: A List of rdfvalues.client_stats.ClientStats instances, sorted by
      create_time.
    """
self
client_id
A GRR client id string, e.g.
A GRR client id string e . g .
min_timestamp
minimum rdfvalue.RDFDateTime (inclusive). If None,
ClientStats since the retention date will be returned.
minimum rdfvalue . RDFDateTime ( inclusive ) . If None ClientStats since the retention date will be returned .
max_timestamp
maximum rdfvalue.RDFDateTime (inclusive). If None,
ClientStats up to the current time will be returned.
maximum rdfvalue . RDFDateTime ( inclusive ) . If None ClientStats up to the current time will be returned .