nuclearpinguin edited a comment on issue #7484: [AIRFLOW-6864] Make 
airflow/jobs pylint compatible
URL: https://github.com/apache/airflow/pull/7484#issuecomment-590924614
 
 
   ```
   ************* Module airflow.jobs.scheduler_job
   airflow/jobs/scheduler_job.py:1031:16: E1101: Method 'state' has no 'is_' 
member (no-member)
   ```
   @ashb 
   
   I assume that the difference is that here `DM.dag_id.is_(None)` we are 
referencing `dag_id` attribute of sqla model. And here 
`models.DagRun.state.is_(None)` reference a method of `DagRun`:
   ```python
       @declared_attr
       def state(self):
           return synonym('_state',
                          descriptor=property(self.get_state, self.set_state))
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to