code: def _create_expected_info_response(settings, tabpy_state):
      return {
          "description": tabpy_state.get_description(),
          "creation_time": tabpy_state.creation_time,
          "state_path": settings["state_file_path"],
          "server_version": settings[SettingsParameters.ServerVersion],
          "name": tabpy_state.name,
          "versions": settings["versions"],
      }
  
imports: import base64
  import json
  import os
  from tabpy.tabpy_server.app.app import TabPyApp
  from tabpy.tabpy_server.app.app_parameters import SettingsParameters
  import tempfile
  from tornado.testing import AsyncHTTPTestCase
label_desc: Use image node_id 1 for calling a global function with example usage: _create_expected_info_response(settings, tabpy_state) and returns: dict