pierrejeambrun commented on issue #45207:
URL: https://github.com/apache/airflow/issues/45207#issuecomment-2850464699

   > Couldn't we just update the is_favorite field in the DagModel of each 
favorite Dag?
   
   This field does not exist on the DagModel, I assume you want to create it - 
The problem with that approach is that all users of the cluster will have the 
same favorite. It will not be possible to customize favorites 'per user'. I 
don't think that's what we want.
   
   > I found a definition of User in this file : 
providers/fab/src/airflow/providers/fab/auth_manager/models/init.py.
   
   Each auth manager has its own User model. We don't need to add one, just the 
favorite / user relationship, based on the `UserModel` field that represents 
the identifier. (`BaseModel.get_id` I guess).


-- 
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