docstr: Returns dynamic metric args found in the request query params
docstr_tok: ["Returns","dynamic","metric","args","found","in","the","request","query","params"]
code: def parameters(self) -> Dict[str, Any]:
      """Returns dynamic metric args found in the request query params"""
      return {
          "interval": self.interval,
          "size": self.size,
          **{
              k: v
              for k, v in self.request.query_params.items()
              if k not in ["interval", "size"]
          },
      }
  
file_path: argilla/src/argilla/server/apis/v0/handlers/metrics.py
imports: from dataclasses import dataclass
  from typing import Any, Dict, List, Optional
  from fastapi import APIRouter, Depends, Query, Request, Security
  from argilla.server.apis.v0.helpers import deprecate_endpoint
  from argilla.server.apis.v0.models.commons.params import CommonTaskHandlerDependencies
  from argilla.server.commons.config import TaskConfig, TasksFactory
  from argilla.server.models import User
  from argilla.server.pydantic_v1 import BaseModel, Field
  from argilla.server.security import auth
  from argilla.server.services.datasets import DatasetsService
  from argilla.server.services.metrics import MetricsService
label_desc: Use image node_id 1 for calling the MetricSummaryParams obj's underlying member method code with example usage: obj.parameters() and returns: dict