code: def get_app(
      props=dict(),
      data_fn=generate_markdown_mock_data,
      assets_folder=None,
  ):
      app = (
          dash.Dash(__name__)
          if assets_folder is None
          else dash.Dash(__name__, assets_folder=assets_folder)
      )
  
      baseProps = get_props(data_fn=data_fn)
  
      baseProps.update(
          dict(filter_action="native", sort_action="native")
      )
      baseProps.update(props)
  
      app.layout = DataTable(**baseProps)
  
      return app
  
file_path: dash/components/dash-table/tests/selenium/test_markdown.py
imports: import dash
  from dash.testing import wait
  from utils import get_props, generate_markdown_mock_data
  from dash.dash_table import DataTable
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: get_app(props, data_fn, assets_folder) and returns: app