code: def gen(self, struct, text=""):
      if isinstance(struct, (str, bytes, pathlib.PurePath)):
          struct = {struct: text}
  
      self._gen(struct)
      return struct.keys()
  
imports: import locale
  import pathlib
  from abc import ABC, abstractmethod
label_desc: Use image node_id 12 for calling the Cloud obj's underlying member method code with example usage: obj.gen(struct, text) and returns: struct