class_docstr: DAG details.
class_docstr_tok: ["DAG","details","."]
docstr: Get the Params defined in a DAG.
docstr_tok: ["Get","the","Params","defined","in","a","DAG","."]
code: def get_params(obj: DAG):
      """Get the Params defined in a DAG."""
      params = obj.params
      return {k: v.dump() for k, v in params.items()}
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, NamedTuple
  from itsdangerous import URLSafeSerializer
  from marshmallow import Schema, fields
  from marshmallow_sqlalchemy import SQLAlchemySchema, auto_field
  from airflow.api_connexion.schemas.common_schema import ScheduleIntervalSchema, TimeDeltaSchema, TimezoneField
  from airflow.configuration import conf
  from airflow.models.dag import DagModel, DagTag
label_desc: Use image node_id 6 for calling the DAGDetailSchema obj's underlying member method code with example usage: obj.get_params(obj) and returns: unknown