grr/server/grr_response_server/databases/mysql_flows.py
def _UpdateRequests(self, needs_processing_update, needs_expected_update,
                      cursor):
    """Updates for a number of requests."""
    needs_expected_set = set(needs_expected_update)

    expected_only = needs_expected_set - needs_processing_update
    if expected_only:
      self._UpdateExpected(expected_only, needs_expected_update, cursor)

    processing_only = needs_processing_update - needs_expected_set
    if processing_only:
      self._UpdateNeedsProcessing(processing_only, cursor)

    combined_update = needs_expected_set & needs_processing_update
    if combined_update:
      self._UpdateCombined(combined_update, needs_expected_update, cursor)
Updates for a number of requests.
Updates for a number of requests.
Updates for a number of requests .
def _UpdateRequests(self, needs_processing_update, needs_expected_update,
                      cursor):
    needs_expected_set = set(needs_expected_update)
    expected_only = needs_expected_set - needs_processing_update
    if expected_only:
      self._UpdateExpected(expected_only, needs_expected_update, cursor)
    processing_only = needs_processing_update - needs_expected_set
    if processing_only:
      self._UpdateNeedsProcessing(processing_only, cursor)
    combined_update = needs_expected_set & needs_processing_update
    if combined_update:
      self._UpdateCombined(combined_update, needs_expected_update, cursor)
def _UpdateRequests ( self , needs_processing_update , needs_expected_update , cursor ) : needs_expected_set = set ( needs_expected_update ) expected_only = needs_expected_set - needs_processing_update if expected_only : self . _UpdateExpected ( expected_only , needs_expected_update , cursor ) processing_only = needs_processing_update - needs_expected_set if processing_only : self . _UpdateNeedsProcessing ( processing_only , cursor ) combined_update = needs_expected_set & needs_processing_update if combined_update : self . _UpdateCombined ( combined_update , needs_expected_update , cursor )
Updates for a number of requests.
Updates for a number of requests .
"""Updates for a number of requests."""
self
needs_processing_update
needs_expected_update
cursor