code: def __eventually__(self, cardinality):
      if not self.use_feat_static_cat:
          cardinality.set([1])
      else:
          cardinality.set_default([1])
  
file_path: gluonts/test/core/test_serde_dataclass.py
imports: from typing import List
  from gluonts.core import serde
  from gluonts.pydantic import BaseModel
label_desc: Use image node_id 1 for calling the Estimator obj's underlying member method code with example usage: obj.__eventually__(cardinality) without return types