zeroam opened a new pull request #7902: Enable celery command in any environment
URL: https://github.com/apache/airflow/pull/7902
 
 
   Set celery command visible even if the executor is not CeleryExecutor
   Instead, raise AirflowException using celery command when the executor is
   not CeleryExecutor or backend is sqlite
   
   `airflow` command
   Before:
   
![image](https://user-images.githubusercontent.com/41822575/77749493-767af980-7065-11ea-986c-7b0b4caf8d23.png)
   
   After:
   
![image](https://user-images.githubusercontent.com/41822575/77749547-8b578d00-7065-11ea-8fda-743e28e69960.png)
   
   `airflow celery` command
   After (executor is SequentialExecutor):
   
![image](https://user-images.githubusercontent.com/41822575/77749711-d2458280-7065-11ea-931b-c0817ca3953f.png)
   
   
   reference from: #7873, #700
   reviewed from: @mik-laj
   
   ---
   Issue link: WILL BE INSERTED BY 
[boring-cyborg](https://github.com/kaxil/boring-cyborg)
   
   Make sure to mark the boxes below before creating PR: [x]
   
   - [ ] Description above provides context of the change
   - [ ] Unit tests coverage for changes (not needed for documentation changes)
   - [ ] Commits follow "[How to write a good git commit 
message](http://chris.beams.io/posts/git-commit/)"
   - [ ] Relevant documentation is updated including usage instructions.
   - [ ] I will engage committers as explained in [Contribution Workflow 
Example](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#contribution-workflow-example).
   
   ---
   In case of fundamental code change, Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals))
 is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party 
License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in 
[UPDATING.md](https://github.com/apache/airflow/blob/master/UPDATING.md).
   Read the [Pull Request 
Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines)
 for more information.
   

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