code: def sqllab(self):
          
          d = {
              'defaultDbId': config.get('SQLLAB_DEFAULT_DBID'),
              'common': self.common_bootsrap_payload(),
          }
          return self.render_template(
              'superset/basic.html',
              entry='sqllab',
              bootstrap_data=json.dumps(d, default=utils.json_iso_dttm_ser),
          )
docs: SQL Editor