We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Uvicorn Windows message points to wrong flag
```2022-06-30T19:52:16.704167Z [warning  ] Add ff.start_uvicorn: True to your meltano.yml to supress this waring```

Should point to

ff.enable_uvicorn [env: MELTANO_FF_ENABLE_UVICORN] current value: False (default)

Should be an easy one!

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `src/meltano/api/workers/api_worker.py`
Content:
```
1 """Starts WSGI Webserver that will run the API App for a Meltano Project."""
2 import logging
3 import platform
4 import threading
5 
6 from meltano.core.meltano_invoker import MeltanoInvoker
7 from meltano.core.project import Project
8 from meltano.core.project_settings_service import ProjectSettingsService
9 from meltano.core.settings_service import FeatureFlags
10 from meltano.core.utils.pidfile import PIDFile
11 
12 
13 class APIWorker(threading.Thread):
14     """The Base APIWorker Class."""
15 
16     def __init__(self, project: Project, reload=False):
17         """Initialize the API Worker class with the project config.
18 
19         Args:
20             project: Project class.
21             reload: Boolean.
22         """
23         super().__init__()
24 
25         self.project = project
26         self.reload = reload
27         self.pid_file = PIDFile(self.project.run_dir("gunicorn.pid"))
28         self.settings_service = ProjectSettingsService(self.project.find())
29 
30     def run(self):
31         """Run the initalized API Workers with the App Server requested."""
32         with self.settings_service.feature_flag(
33             FeatureFlags.ENABLE_UVICORN, raise_error=False
34         ) as allow:
35 
36             enable_uvicorn = allow
37 
38             # Use Uvicorn when on Windows
39             if platform.system() == "Windows":
40                 if enable_uvicorn:
41                     logging.debug("ff.enable_uvicorn enabled, starting uvicorn.")
42                 else:
43                     logging.warning(
44                         "Windows OS detected auto setting ff.enable_uvicorn"
45                     )
46                     logging.warning(
47                         "Add ff.start_uvicorn: True to your meltano.yml to supress this waring"
48                     )
49                     enable_uvicorn = True
50 
51             # Start uvicorn to serve API and Ui
52             if enable_uvicorn:
53                 settings_for_apiworker = self.settings_service
54 
55                 arg_bind_host = str(settings_for_apiworker.get("ui.bind_host"))
56                 arg_bind_port = str(settings_for_apiworker.get("ui.bind_port"))
57                 arg_loglevel = str(settings_for_apiworker.get("cli.log_level"))
58                 arg_forwarded_allow_ips = str(
59                     settings_for_apiworker.get("ui.forwarded_allow_ips")
60                 )
61 
62                 # If windows and 127.0.0.1 only allowed changing bind host to accomidate
63                 if platform.system() == "Windows":
64                     if (
65                         arg_forwarded_allow_ips == "127.0.0.1"
66                         and arg_bind_host == "0.0.0.0"  # noqa: S104
67                     ):
68                         # If left at 0.0.0.0 the server will respond to any request receieved on any interface
69                         arg_bind_host = "127.0.0.1"
70 
71                 # Setup args for uvicorn using bind info from the project setings service
72                 args = [
73                     "--host",
74                     arg_bind_host,
75                     "--port",
76                     arg_bind_port,
77                     "--loop",
78                     "asyncio",
79                     "--interface",
80                     "wsgi",
81                     "--log-level",
82                     arg_loglevel,
83                     "--forwarded-allow-ips",
84                     arg_forwarded_allow_ips,
85                     "--timeout-keep-alive",
86                     "600",
87                 ]
88 
89                 # Add reload argument if reload is true
90                 if self.reload:
91 
92                     args += [
93                         "--reload",
94                     ]
95 
96                 # Add the Meltano API app, factory create_app function combo to the args
97                 args += [
98                     "--factory",
99                     "meltano.api.app:create_app",
100                 ]
101 
102                 # Start uvicorn using the MeltanoInvoker
103                 MeltanoInvoker(self.project).invoke(args, command="uvicorn")
104 
105             else:
106                 # Use Gunicorn when feature flag start_uvicorn is not set
107 
108                 args = [
109                     "--config",
110                     "python:meltano.api.wsgi",
111                     "--pid",
112                     str(self.pid_file),
113                 ]
114 
115                 if self.reload:
116                     args += ["--reload"]
117 
118                 args += ["meltano.api.app:create_app()"]
119 
120                 MeltanoInvoker(self.project).invoke(args, command="gunicorn")
121 
122     def pid_path(self):
123         """Give the path name of the projects gunicorn.pid file location.
124 
125         Returns:
126             Path object that gives the direct locationo of the gunicorn.pid file.
127         """
128         return self.project.run_dir("gunicorn.pid")
129 
130     def stop(self):
131         """Terminnate active gunicorn workers that have placed a PID in the project's gunicorn.pid file."""
132         self.pid_file.process.terminate()
133
```
--- 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()

```

diff --git a/src/meltano/api/workers/api_worker.py b/src/meltano/api/workers/api_worker.py
--- a/src/meltano/api/workers/api_worker.py
+++ b/src/meltano/api/workers/api_worker.py
@@ -44,7 +44,7 @@
                         "Windows OS detected auto setting ff.enable_uvicorn"
                     )
                     logging.warning(
-                        "Add ff.start_uvicorn: True to your meltano.yml to supress this waring"
+                        "Add ff.enable_uvicorn: True to your meltano.yml to supress this waring"
                     )
                     enable_uvicorn = True

{"golden_diff": "diff --git a/src/meltano/api/workers/api_worker.py b/src/meltano/api/workers/api_worker.py\n--- a/src/meltano/api/workers/api_worker.py\n+++ b/src/meltano/api/workers/api_worker.py\n@@ -44,7 +44,7 @@\n                         \"Windows OS detected auto setting ff.enable_uvicorn\"\n                     )\n                     logging.warning(\n-                        \"Add ff.start_uvicorn: True to your meltano.yml to supress this waring\"\n+                        \"Add ff.enable_uvicorn: True to your meltano.yml to supress this waring\"\n                     )\n                     enable_uvicorn = True\n", "issue": "Uvicorn Windows message points to wrong flag\n```2022-06-30T19:52:16.704167Z [warning  ] Add ff.start_uvicorn: True to your meltano.yml to supress this waring```\r\n\r\nShould point to\r\n\r\nff.enable_uvicorn [env: MELTANO_FF_ENABLE_UVICORN] current value: False (default)\r\n\r\nShould be an easy one!\n", "before_files": [{"content": "\"\"\"Starts WSGI Webserver that will run the API App for a Meltano Project.\"\"\"\nimport logging\nimport platform\nimport threading\n\nfrom meltano.core.meltano_invoker import MeltanoInvoker\nfrom meltano.core.project import Project\nfrom meltano.core.project_settings_service import ProjectSettingsService\nfrom meltano.core.settings_service import FeatureFlags\nfrom meltano.core.utils.pidfile import PIDFile\n\n\nclass APIWorker(threading.Thread):\n    \"\"\"The Base APIWorker Class.\"\"\"\n\n    def __init__(self, project: Project, reload=False):\n        \"\"\"Initialize the API Worker class with the project config.\n\n        Args:\n            project: Project class.\n            reload: Boolean.\n        \"\"\"\n        super().__init__()\n\n        self.project = project\n        self.reload = reload\n        self.pid_file = PIDFile(self.project.run_dir(\"gunicorn.pid\"))\n        self.settings_service = ProjectSettingsService(self.project.find())\n\n    def run(self):\n        \"\"\"Run the initalized API Workers with the App Server requested.\"\"\"\n        with self.settings_service.feature_flag(\n            FeatureFlags.ENABLE_UVICORN, raise_error=False\n        ) as allow:\n\n            enable_uvicorn = allow\n\n            # Use Uvicorn when on Windows\n            if platform.system() == \"Windows\":\n                if enable_uvicorn:\n                    logging.debug(\"ff.enable_uvicorn enabled, starting uvicorn.\")\n                else:\n                    logging.warning(\n                        \"Windows OS detected auto setting ff.enable_uvicorn\"\n                    )\n                    logging.warning(\n                        \"Add ff.start_uvicorn: True to your meltano.yml to supress this waring\"\n                    )\n                    enable_uvicorn = True\n\n            # Start uvicorn to serve API and Ui\n            if enable_uvicorn:\n                settings_for_apiworker = self.settings_service\n\n                arg_bind_host = str(settings_for_apiworker.get(\"ui.bind_host\"))\n                arg_bind_port = str(settings_for_apiworker.get(\"ui.bind_port\"))\n                arg_loglevel = str(settings_for_apiworker.get(\"cli.log_level\"))\n                arg_forwarded_allow_ips = str(\n                    settings_for_apiworker.get(\"ui.forwarded_allow_ips\")\n                )\n\n                # If windows and 127.0.0.1 only allowed changing bind host to accomidate\n                if platform.system() == \"Windows\":\n                    if (\n                        arg_forwarded_allow_ips == \"127.0.0.1\"\n                        and arg_bind_host == \"0.0.0.0\"  # noqa: S104\n                    ):\n                        # If left at 0.0.0.0 the server will respond to any request receieved on any interface\n                        arg_bind_host = \"127.0.0.1\"\n\n                # Setup args for uvicorn using bind info from the project setings service\n                args = [\n                    \"--host\",\n                    arg_bind_host,\n                    \"--port\",\n                    arg_bind_port,\n                    \"--loop\",\n                    \"asyncio\",\n                    \"--interface\",\n                    \"wsgi\",\n                    \"--log-level\",\n                    arg_loglevel,\n                    \"--forwarded-allow-ips\",\n                    arg_forwarded_allow_ips,\n                    \"--timeout-keep-alive\",\n                    \"600\",\n                ]\n\n                # Add reload argument if reload is true\n                if self.reload:\n\n                    args += [\n                        \"--reload\",\n                    ]\n\n                # Add the Meltano API app, factory create_app function combo to the args\n                args += [\n                    \"--factory\",\n                    \"meltano.api.app:create_app\",\n                ]\n\n                # Start uvicorn using the MeltanoInvoker\n                MeltanoInvoker(self.project).invoke(args, command=\"uvicorn\")\n\n            else:\n                # Use Gunicorn when feature flag start_uvicorn is not set\n\n                args = [\n                    \"--config\",\n                    \"python:meltano.api.wsgi\",\n                    \"--pid\",\n                    str(self.pid_file),\n                ]\n\n                if self.reload:\n                    args += [\"--reload\"]\n\n                args += [\"meltano.api.app:create_app()\"]\n\n                MeltanoInvoker(self.project).invoke(args, command=\"gunicorn\")\n\n    def pid_path(self):\n        \"\"\"Give the path name of the projects gunicorn.pid file location.\n\n        Returns:\n            Path object that gives the direct locationo of the gunicorn.pid file.\n        \"\"\"\n        return self.project.run_dir(\"gunicorn.pid\")\n\n    def stop(self):\n        \"\"\"Terminnate active gunicorn workers that have placed a PID in the project's gunicorn.pid file.\"\"\"\n        self.pid_file.process.terminate()\n", "path": "src/meltano/api/workers/api_worker.py"}], "after_files": [{"content": "\"\"\"Starts WSGI Webserver that will run the API App for a Meltano Project.\"\"\"\nimport logging\nimport platform\nimport threading\n\nfrom meltano.core.meltano_invoker import MeltanoInvoker\nfrom meltano.core.project import Project\nfrom meltano.core.project_settings_service import ProjectSettingsService\nfrom meltano.core.settings_service import FeatureFlags\nfrom meltano.core.utils.pidfile import PIDFile\n\n\nclass APIWorker(threading.Thread):\n    \"\"\"The Base APIWorker Class.\"\"\"\n\n    def __init__(self, project: Project, reload=False):\n        \"\"\"Initialize the API Worker class with the project config.\n\n        Args:\n            project: Project class.\n            reload: Boolean.\n        \"\"\"\n        super().__init__()\n\n        self.project = project\n        self.reload = reload\n        self.pid_file = PIDFile(self.project.run_dir(\"gunicorn.pid\"))\n        self.settings_service = ProjectSettingsService(self.project.find())\n\n    def run(self):\n        \"\"\"Run the initalized API Workers with the App Server requested.\"\"\"\n        with self.settings_service.feature_flag(\n            FeatureFlags.ENABLE_UVICORN, raise_error=False\n        ) as allow:\n\n            enable_uvicorn = allow\n\n            # Use Uvicorn when on Windows\n            if platform.system() == \"Windows\":\n                if enable_uvicorn:\n                    logging.debug(\"ff.enable_uvicorn enabled, starting uvicorn.\")\n                else:\n                    logging.warning(\n                        \"Windows OS detected auto setting ff.enable_uvicorn\"\n                    )\n                    logging.warning(\n                        \"Add ff.enable_uvicorn: True to your meltano.yml to supress this waring\"\n                    )\n                    enable_uvicorn = True\n\n            # Start uvicorn to serve API and Ui\n            if enable_uvicorn:\n                settings_for_apiworker = self.settings_service\n\n                arg_bind_host = str(settings_for_apiworker.get(\"ui.bind_host\"))\n                arg_bind_port = str(settings_for_apiworker.get(\"ui.bind_port\"))\n                arg_loglevel = str(settings_for_apiworker.get(\"cli.log_level\"))\n                arg_forwarded_allow_ips = str(\n                    settings_for_apiworker.get(\"ui.forwarded_allow_ips\")\n                )\n\n                # If windows and 127.0.0.1 only allowed changing bind host to accomidate\n                if platform.system() == \"Windows\":\n                    if (\n                        arg_forwarded_allow_ips == \"127.0.0.1\"\n                        and arg_bind_host == \"0.0.0.0\"  # noqa: S104\n                    ):\n                        # If left at 0.0.0.0 the server will respond to any request receieved on any interface\n                        arg_bind_host = \"127.0.0.1\"\n\n                # Setup args for uvicorn using bind info from the project setings service\n                args = [\n                    \"--host\",\n                    arg_bind_host,\n                    \"--port\",\n                    arg_bind_port,\n                    \"--loop\",\n                    \"asyncio\",\n                    \"--interface\",\n                    \"wsgi\",\n                    \"--log-level\",\n                    arg_loglevel,\n                    \"--forwarded-allow-ips\",\n                    arg_forwarded_allow_ips,\n                    \"--timeout-keep-alive\",\n                    \"600\",\n                ]\n\n                # Add reload argument if reload is true\n                if self.reload:\n\n                    args += [\n                        \"--reload\",\n                    ]\n\n                # Add the Meltano API app, factory create_app function combo to the args\n                args += [\n                    \"--factory\",\n                    \"meltano.api.app:create_app\",\n                ]\n\n                # Start uvicorn using the MeltanoInvoker\n                MeltanoInvoker(self.project).invoke(args, command=\"uvicorn\")\n\n            else:\n                # Use Gunicorn when feature flag start_uvicorn is not set\n\n                args = [\n                    \"--config\",\n                    \"python:meltano.api.wsgi\",\n                    \"--pid\",\n                    str(self.pid_file),\n                ]\n\n                if self.reload:\n                    args += [\"--reload\"]\n\n                args += [\"meltano.api.app:create_app()\"]\n\n                MeltanoInvoker(self.project).invoke(args, command=\"gunicorn\")\n\n    def pid_path(self):\n        \"\"\"Give the path name of the projects gunicorn.pid file location.\n\n        Returns:\n            Path object that gives the direct locationo of the gunicorn.pid file.\n        \"\"\"\n        return self.project.run_dir(\"gunicorn.pid\")\n\n    def stop(self):\n        \"\"\"Terminnate active gunicorn workers that have placed a PID in the project's gunicorn.pid file.\"\"\"\n        self.pid_file.process.terminate()\n", "path": "src/meltano/api/workers/api_worker.py"}]}