prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Remove unnecessary Flask app
  The current auto instrumentation example includes an unnecessary Flask app in its client, remove that.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `docs/examples/auto-instrumentation/client.py`
  Content:
  ```
  1 # Copyright The OpenTelemetry Authors
  2 #
  3 # Licensed under the Apache License, Version 2.0 (the "License");
  4 # you may not use this file except in compliance with the License.
  5 # You may obtain a copy of the License at
  6 #
  7 #     http://www.apache.org/licenses/LICENSE-2.0
  8 #
  9 # Unless required by applicable law or agreed to in writing, software
  10 # distributed under the License is distributed on an "AS IS" BASIS,
  11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12 # See the License for the specific language governing permissions and
  13 # limitations under the License.
  14 
  15 from sys import argv
  16 
  17 from flask import Flask
  18 from requests import get
  19 
  20 from opentelemetry import propagators, trace
  21 from opentelemetry.sdk.trace import TracerProvider
  22 from opentelemetry.sdk.trace.export import (
  23     ConsoleSpanExporter,
  24     SimpleExportSpanProcessor,
  25 )
  26 
  27 app = Flask(__name__)
  28 
  29 trace.set_tracer_provider(TracerProvider())
  30 tracer = trace.get_tracer_provider().get_tracer(__name__)
  31 
  32 trace.get_tracer_provider().add_span_processor(
  33     SimpleExportSpanProcessor(ConsoleSpanExporter())
  34 )
  35 
  36 
  37 assert len(argv) == 2
  38 
  39 with tracer.start_as_current_span("client"):
  40 
  41     with tracer.start_as_current_span("client-server"):
  42         headers = {}
  43         propagators.inject(dict.__setitem__, headers)
  44         requested = get(
  45             "http://localhost:8082/server_request",
  46             params={"param": argv[1]},
  47             headers=headers,
  48         )
  49 
  50         assert requested.status_code == 200
  51
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/docs/examples/auto-instrumentation/client.py b/docs/examples/auto-instrumentation/client.py
  --- a/docs/examples/auto-instrumentation/client.py
  +++ b/docs/examples/auto-instrumentation/client.py
  @@ -14,7 +14,6 @@
   
   from sys import argv
   
  -from flask import Flask
   from requests import get
   
   from opentelemetry import propagators, trace
  @@ -24,8 +23,6 @@
       SimpleExportSpanProcessor,
   )
   
  -app = Flask(__name__)
  -
   trace.set_tracer_provider(TracerProvider())
   tracer = trace.get_tracer_provider().get_tracer(__name__)
  
verification_info: {"golden_diff": "diff --git a/docs/examples/auto-instrumentation/client.py b/docs/examples/auto-instrumentation/client.py\n--- a/docs/examples/auto-instrumentation/client.py\n+++ b/docs/examples/auto-instrumentation/client.py\n@@ -14,7 +14,6 @@\n \n from sys import argv\n \n-from flask import Flask\n from requests import get\n \n from opentelemetry import propagators, trace\n@@ -24,8 +23,6 @@\n     SimpleExportSpanProcessor,\n )\n \n-app = Flask(__name__)\n-\n trace.set_tracer_provider(TracerProvider())\n tracer = trace.get_tracer_provider().get_tracer(__name__)\n", "issue": "Remove unnecessary Flask app\nThe current auto instrumentation example includes an unnecessary Flask app in its client, remove that.\n", "before_files": [{"content": "# Copyright The OpenTelemetry Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nfrom sys import argv\n\nfrom flask import Flask\nfrom requests import get\n\nfrom opentelemetry import propagators, trace\nfrom opentelemetry.sdk.trace import TracerProvider\nfrom opentelemetry.sdk.trace.export import (\n    ConsoleSpanExporter,\n    SimpleExportSpanProcessor,\n)\n\napp = Flask(__name__)\n\ntrace.set_tracer_provider(TracerProvider())\ntracer = trace.get_tracer_provider().get_tracer(__name__)\n\ntrace.get_tracer_provider().add_span_processor(\n    SimpleExportSpanProcessor(ConsoleSpanExporter())\n)\n\n\nassert len(argv) == 2\n\nwith tracer.start_as_current_span(\"client\"):\n\n    with tracer.start_as_current_span(\"client-server\"):\n        headers = {}\n        propagators.inject(dict.__setitem__, headers)\n        requested = get(\n            \"http://localhost:8082/server_request\",\n            params={\"param\": argv[1]},\n            headers=headers,\n        )\n\n        assert requested.status_code == 200\n", "path": "docs/examples/auto-instrumentation/client.py"}], "after_files": [{"content": "# Copyright The OpenTelemetry Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n#     http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n\nfrom sys import argv\n\nfrom requests import get\n\nfrom opentelemetry import propagators, trace\nfrom opentelemetry.sdk.trace import TracerProvider\nfrom opentelemetry.sdk.trace.export import (\n    ConsoleSpanExporter,\n    SimpleExportSpanProcessor,\n)\n\ntrace.set_tracer_provider(TracerProvider())\ntracer = trace.get_tracer_provider().get_tracer(__name__)\n\ntrace.get_tracer_provider().add_span_processor(\n    SimpleExportSpanProcessor(ConsoleSpanExporter())\n)\n\n\nassert len(argv) == 2\n\nwith tracer.start_as_current_span(\"client\"):\n\n    with tracer.start_as_current_span(\"client-server\"):\n        headers = {}\n        propagators.inject(dict.__setitem__, headers)\n        requested = get(\n            \"http://localhost:8082/server_request\",\n            params={\"param\": argv[1]},\n            headers=headers,\n        )\n\n        assert requested.status_code == 200\n", "path": "docs/examples/auto-instrumentation/client.py"}]}