class_docstr: Mixin that implements state-loading utilities for dataclasses.
class_docstr_tok: ["Mixin","that","implements","state-loading","utilities","for","dataclasses","."]
code: def from_state_dict(cls, state_dict: dict) -> "_BaseProgress":
      obj = cls()
      obj.load_state_dict(state_dict)
      return obj
  
imports: from dataclasses import asdict, dataclass, field
  from typing import Type
  from typing_extensions import override
label_desc: Use image node_id 3 for calling the _BaseProgress obj's underlying member method code with example usage: obj.from_state_dict(cls, state_dict) and returns: obj