anishgirianish commented on code in PR #60108:
URL: https://github.com/apache/airflow/pull/60108#discussion_r3031436662


##########
airflow-core/src/airflow/api_fastapi/auth/tokens.py:
##########
@@ -418,6 +418,10 @@ class JWTGenerator:
 
     kid: str = attrs.field(default=attrs.Factory(_generate_kid, 
takes_self=True))
     valid_for: float
+    workload_valid_for: float = attrs.field(

Review Comment:
   Fixed,  _jwt_generator() in app.py no longer passes workload_valid_for 
explicitly. Only the attrs factory default in tokens.py reads the config now. 
thank you



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to