class_docstr: DAG schema.
class_docstr_tok: ["DAG","schema","."]
docstr: Return file token.
docstr_tok: ["Return","file","token","."]
code: def get_token(obj: DagModel):
      """Return file token."""
      serializer = URLSafeSerializer(
          conf.get_mandatory_value("webserver", "secret_key")
      )
      return serializer.dumps(obj.fileloc)
  
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 2 for calling the DAGSchema obj's underlying member method code with example usage: obj.get_token(obj) and returns: serializer