code: def run(self, code: str) -> Output:
          
          output = self._execute(code)
          if self.echo and output.text:
              print(output.text)
          if self.check:
              output.raise_for_status()
          return output
docs: Run some code in the managed Spark session.
  
          :param code: The code to run.