code: def sbatch_template(self):
          
          template = self.sbatch_template_str
          if template.startswith('#!'):
              # script is embedded in YAML
              return jinja_environment.from_string(template)
          return jinja_environment.get_template(template)
docs: :return Jinja sbatch template for the current tag