class_docstr: Environment class for Databricks environments.
  
  DatabricksEnvironment represents functionality to detect whether it is
  executed in a Databricks environment based on environment variables.
  Additionally, it can display corresponding visualizations.
docstr: Display the passed HTML using Databricks's displayHTML.
  
  ..note:
  
      Code mostly derived from Plotly's databricks render as linked
      below:
      https://github.com/plotly/plotly.py/blob/01a78d3fdac14848affcd33ddc4f9ec72d475232/packages/python/plotly/plotly/io/_base_renderers.py
docstr_tok: ["Display","the","passed","HTML","using","Databricks","'s","displayHTML",".","..","note",":","Code","mostly","derived","from","Plotly","'s","databricks","render","as","linked","below",":","https",":","\/\/github.com\/plotly\/plotly.py\/blob\/01a78d3fdac14848affcd33ddc4f9ec72d475232\/packages\/python\/plotly\/plotly\/io\/_base_renderers.py"]
code: def display(self, html):
      """Display the passed HTML using Databricks's displayHTML.
  
      ..note:
  
          Code mostly derived from Plotly's databricks render as linked
          below:
          https://github.com/plotly/plotly.py/blob/01a78d3fdac14848affcd33ddc4f9ec72d475232/packages/python/plotly/plotly/io/_base_renderers.py
      """
      import inspect
  
      if self.lazy_display_function is None:
          found = False
          for frame in inspect.getouterframes(inspect.currentframe()):
              global_names = set(frame.frame.f_globals)
              target_names = {_DISPLAY_HTML, _DISPLAY, _SPARK}
              if target_names.issubset(global_names):
                  self.lazy_display_function = frame.frame.f_globals[
                      _DISPLAY_HTML
                  ]
                  found = True
                  break
  
          if not found:
              msg = "Could not find Databrick's displayHTML function"
              raise RuntimeError(msg)
  
      self.lazy_display_function(html)
  
imports: import os
  from rai_core_flask.environments.base_environment import BaseEnvironment
label_desc: Use image node_id 2 for calling the DatabricksEnvironment obj's underlying member method code with example usage: obj.display(html) without return types