code: def get_bundles(self):
          # type: () -> List[Bundle]
          
          with self.__bundles_lock:
              return [
                  self.__bundles[bundle_id]
                  for bundle_id in sorted(self.__bundles.keys())
              ]
docs: Returns the list of all installed bundles
  
          :return: the list of all installed bundles