code: def variable(self, key, value, indent=0):
      if value is None:
          return
      if isinstance(value, list):
          value = " ".join(
              filter(None, value)
          )  # Filter out empty strings.
      self._line("%s = %s" % (key, value), indent)
  
imports: import re
  import textwrap
label_desc: Use image node_id 4 for calling the Writer obj's underlying member method code with example usage: obj.variable(key, value, indent) without return types