class_docstr: Subclass the DefaultModule, adding adapter module support
class_docstr_tok: ["Subclass","the","DefaultModule",",","adding","adapter","module","support"]
code: def get_accepted_adapter_types(
      self,
  ) -> "Set[type]":
      types = super().get_accepted_adapter_types()
  
      if len(types) == 0:
          self.set_accepted_adapter_types(
              [
                  "nemo.collections.common.parts.adapter_modules.LinearAdapter"
              ]
          )
          types = self.get_accepted_adapter_types()
      return types
  
imports: import os
  import shutil
  import tempfile
  from typing import Tuple
  import pytest
  import torch
  from hydra.utils import instantiate
  from omegaconf import DictConfig, OmegaConf
  from nemo.collections.common.parts.adapter_modules import LinearAdapter
  from nemo.core import ModelPT, NeuralModule
  from nemo.core.classes.mixins import adapter_mixin_strategies, adapter_mixins
  from nemo.core.classes.mixins.adapter_mixins import AdapterModelPTMixin, AdapterModuleMixin
  from nemo.utils import logging, logging_mode
label_desc: Use image node_id 2 for calling the CommonModuleAdapter obj's underlying member method code with example usage: obj.get_accepted_adapter_types() and returns: types