Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,13 @@ async def _load_config(self):
async def get_conn_extras(self) -> dict:
if self._extras is None:
if self.conn_id:
connection = await get_async_connection(self.conn_id)
try:
connection = await get_async_connection(self.conn_id)
except AirflowNotFoundException:
if self.conn_id == self.default_conn_name:
connection = Connection(conn_id=self.default_conn_name)
else:
raise
self._extras = connection.extra_dejson
else:
self._extras = {}
Expand Down