Skip to content

Commit

Permalink
Remove warning about missing config in edge plugin loading (apache#43596
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jscheffl authored Nov 1, 2024
1 parent ccbf1da commit 80f442d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions providers/src/airflow/providers/edge/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@
Changelog
---------

0.5.1pre0
.........

Misc
~~~~

* ``Remove warning about missing config in edge plugin loading.``

0.5.0pre0
.........

Expand Down
2 changes: 1 addition & 1 deletion providers/src/airflow/providers/edge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

__all__ = ["__version__"]

__version__ = "0.5.0pre0"
__version__ = "0.5.1pre0"

if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
"2.10.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def status(self, session: Session = NEW_SESSION):

# Check if EdgeExecutor is actually loaded
try:
EDGE_EXECUTOR_ACTIVE = conf.getboolean("edge", "api_enabled")
EDGE_EXECUTOR_ACTIVE = conf.getboolean("edge", "api_enabled", fallback="False")
except AirflowConfigException:
EDGE_EXECUTOR_ACTIVE = False

Expand Down
2 changes: 1 addition & 1 deletion providers/src/airflow/providers/edge/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ source-date-epoch: 1729683247

# note that those versions are maintained by release manager - do not update them manually
versions:
- 0.5.0pre0
- 0.5.1pre0

dependencies:
- apache-airflow>=2.10.0
Expand Down

0 comments on commit 80f442d

Please sign in to comment.