-
Notifications
You must be signed in to change notification settings - Fork 16.4k
[WIP] Bump sphinx-autoapi from 1.0.0 to 1.7.0 #15206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,9 +17,10 @@ | |
| # under the License. | ||
| from typing import Any, Callable, Dict, Optional | ||
|
|
||
| from jira.exceptions import JIRAError | ||
| from jira.resources import Issue, Resource | ||
|
|
||
| from airflow.providers.jira.operators.jira import JIRAError, JiraOperator | ||
| from airflow.providers.jira.operators.jira import JiraOperator | ||
|
||
| from airflow.sensors.base import BaseSensorOperator | ||
| from airflow.utils.decorators import apply_defaults | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -103,6 +103,8 @@ def build_command_args() -> Tuple[Dict[str, list], list]: | |
| return command_args, list(hyphen_args) | ||
|
|
||
|
|
||
| COMMAND_ARGS: List[str] | ||
| HYPHEN_ARGS: List[str] | ||
|
||
| COMMAND_ARGS, HYPHEN_ARGS = build_command_args() | ||
|
|
||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -18,7 +18,6 @@ | |||
|
|
||||
| import datetime | ||||
| import hashlib | ||||
| import os | ||||
| import time | ||||
| from datetime import timedelta | ||||
| from typing import Any, Callable, Dict, Iterable | ||||
|
|
@@ -322,9 +321,3 @@ def mode_setter(_, value): | |||
| return cls_type | ||||
|
|
||||
| return decorate(cls) | ||||
|
|
||||
|
|
||||
| if 'BUILDING_AIRFLOW_DOCS' in os.environ: | ||||
|
||||
| if 'BUILDING_AIRFLOW_DOCS' in os.environ: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to import Prootcol directly for sphinx-autoapi to understand this correctly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is done this way for compatibility across multiple python versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I install
typing_extensionson every pythton version, becausesphinx-autoapihas problems with it.Hopefully we can fix this differently, but for now, I wanted to take a step forward to see if we had other critical issues. Now the documentation for the apache-airflow package builds up fine, so I think it's a pretty cool start.