You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "amoghrajesh (via GitHub)" <gi...@apache.org> on 2025/04/14 05:39:57 UTC

[I] Do not store the `app.request.state` as a place to store things in fastapi [airflow]

amoghrajesh opened a new issue, #49201:
URL: https://github.com/apache/airflow/issues/49201

   ### Body
   
   Right now we are using the `app.request.state` to store various things such as the dagbag: https://github.com/apache/airflow/blob/main/airflow-core/src/airflow/api_fastapi/app.py#L86
   
   We should instead use a mechanism such as https://svcs.hynek.me/ to do it.
   
   ### Committer
   
   - [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.


-- 
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-unsubscribe@airflow.apache.org.apache.org

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


Re: [I] Do not use the `app.request.state` as a place to store things in fastapi [airflow]

Posted by "amoghrajesh (via GitHub)" <gi...@apache.org>.
amoghrajesh commented on issue #49201:
URL: https://github.com/apache/airflow/issues/49201#issuecomment-4124314265

   We do not do this anymore, this was made better by #50584


-- 
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-unsubscribe@airflow.apache.org

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


Re: [I] Do not use the `app.request.state` as a place to store things in fastapi [airflow]

Posted by "amoghrajesh (via GitHub)" <gi...@apache.org>.
amoghrajesh closed issue #49201: Do not use the `app.request.state` as a place to store things in fastapi
URL: https://github.com/apache/airflow/issues/49201


-- 
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-unsubscribe@airflow.apache.org

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