code: def get_app(props=dict(), data_fn=generate_mock_data):
      app = dash.Dash(__name__)
  
      baseProps = get_props(data_fn=data_fn)
  
      baseProps.update(props)
  
      app.layout = DataTable(**baseProps)
  
      return app
  
file_path: dash/components/dash-table/tests/selenium/test_navigation_keyboard.py
imports: import dash
  from utils import basic_modes, get_props, generate_mock_data, read_write_modes
  from dash.dash_table import DataTable
  from selenium.webdriver.common.keys import Keys
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: get_app(props, data_fn) and returns: app