code: def collect_runs_data(query):
      repo = Repo.default_repo()
      runs = repo.query_runs(
          query, report_mode=QueryReportMode.DISABLED
      )
      runs_dict = {}
      for run_trace_collection in runs.iter_runs():
          run = run_trace_collection.run
          runs_dict[run.hash] = {
              "params": run[...],
              "traces": run.collect_sequence_info(
                  sequence_types="metric"
              ),
              "props": get_run_props(run),
          }
  
imports: from aim.sdk import Repo
  from aim.sdk.types import QueryReportMode
  from aim.web.api.runs.utils import get_run_props
  from performance_tests.utils import timing
label_desc: Use image node_id 1 for calling a global function with example usage: collect_runs_data(query) without return types