def changes(self, timeout_ms=0):
    self._startup_thread.join()
    timeout_s = timeout_ms / 1000.0

    old_filename_to_mtime = self._filename_to_mtime
    try:
      self._refresh()
      diff_items = set(self._filename_to_mtime.items()).symmetric_difference(
          old_filename_to_mtime.items())
      # returns immediately if we found a difference.
      if diff_items or timeout_ms == 0:
        return {k for k, _ in diff_items}

      self._timeout.wait(timeout_s)
    except ShutdownError:
      pass
    return set()
Get orders on filter keyword arguments other than id
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/tools/devappserver2/mtime_file_watcher.py/MtimeFileWatcher.changes--crossover with--dataset/ETHPy150Open chartbeat-labs/parselmouth/parselmouth/adapters/dfp/client.py/DFPClient.get_orders