code: def asdict(self) -> t.Dict[str, t.Any]:
      return bentoml_cattr.unstructure(self)
  
imports: from __future__ import annotations
  import logging
  import typing
  import attr
  import cattr.errors
  import yaml
  from cattr.gen import make_dict_unstructure_fn
  from cattr.gen import override
  from ...utils import bentoml_cattr
label_desc: Use image node_id 1 for calling the Components obj's underlying member method code with example usage: obj.asdict() and returns: bentoml_cattr