Skip to content

Commit

Permalink
fixup! fixup! Adds support for Hook discovery from providers
Browse files Browse the repository at this point in the history
  • Loading branch information
potiuk committed Nov 29, 2020
1 parent a6cf883 commit 034c19e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion airflow/plugins_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import importlib_metadata

from airflow import settings
from airflow.utils.entry_points_with_dist import entry_points_with_dist
from airflow.utils.entry_points import entry_points_with_dist
from airflow.utils.file import find_path_from_directory

if TYPE_CHECKING:
Expand Down
4 changes: 2 additions & 2 deletions airflow/providers_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import jsonschema
import yaml

from airflow.utils.entry_points_with_dist import entry_points_with_dist
from airflow.utils.entry_points import entry_points_with_dist

try:
import importlib.resources as importlib_resources
Expand Down Expand Up @@ -77,7 +77,7 @@ def __init__(self):
self._discover_all_providers_from_packages()
self._discover_hooks()
self._provider_dict = OrderedDict(sorted(self.providers.items()))
self._hooks_dict = OrderedDict(sorted(self.providers.items()))
self._hooks_dict = OrderedDict(sorted(self.hooks.items()))

def _discover_all_providers_from_packages(self) -> None:
"""
Expand Down
File renamed without changes.

0 comments on commit 034c19e

Please sign in to comment.