pierrejeambrun commented on code in PR #43015:
URL: https://github.com/apache/airflow/pull/43015#discussion_r1800669337


##########
airflow/cli/commands/fastapi_api_command.py:
##########
@@ -101,6 +102,8 @@ def fastapi_api(args):
         )
 
         pid_file, _, _, _ = setup_locations("fastapi-api", pid=args.pid)
+
+        # TODO: Need to pass "apps" to create_app somehow

Review Comment:
   I saw something like this to pass args to the function called, that might 
help, I haven't tested it:
   
   ```
   gunicorn 'mypackage:build_app(foo="bar")' # This gives kwarg foo="bar" to 
the fucntion call
   ```
   
   Here 
https://stackoverflow.com/questions/8495367/using-additional-command-line-arguments-with-gunicorn



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to