code: def get_app2():
      app = dash.Dash(__name__)
  
      app.layout = html.Div(
          [
              html.Button("i=20", id="button", n_clicks=0),
              DataTable(
                  id="table",
                  page_size=5,
                  columns=[
                      {"name": "i", "id": "i"},
                      {"name": "square", "id": "square"},
                  ],
                  data=[
                      {"i": i, "square": i**2} for i in range(50 + 1)
                  ],
                  page_current=5,
              ),
              dcc.Graph(),
          ]
      )
  
      @app.callback(
          Output("table", "data"), Input("button", "n_clicks")
      )
      def update_table_data(n):
          return (
              [{"i": i, "square": i**2} for i in range(20 + 1)]
              if n > 0
              else dash.no_update
          )
  
      return app
  
imports: import dash
  from dash import Input, Output, html, dcc
  from dash.exceptions import PreventUpdate
  from dash.dash_table import DataTable
  import pytest
  from selenium.webdriver.common.keys import Keys
  import math
  import pandas
label_desc: Use image node_id 12 for calling a global function with example usage: get_app2() and returns: app, unknown