Skip to content

Commit

Permalink
docs(newsfragment): these deprecated things are functions instead of …
Browse files Browse the repository at this point in the history
…arguments (apache#44242)
  • Loading branch information
Lee-W authored Nov 21, 2024
1 parent cf9edd1 commit 9fb3d07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions newsfragments/41533.significant.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
**Breaking Change**

The ``load_connections`` parameter has been removed from the ``local_file_system``.
This parameter was previously deprecated in favor of ``load_connections_dict``.
The ``load_connections`` function has been removed from the ``local_file_system``.
This function was previously deprecated in favor of ``load_connections_dict``.

If your code still uses ``load_connections``, you should update it to use ``load_connections_dict``
instead to ensure compatibility with future Airflow versions.
Expand All @@ -12,8 +12,8 @@ Example update:
connection_by_conn_id = local_filesystem.load_connections_dict(file_path="a.json")
The ``get_connections`` parameter has been removed from the ``LocalFilesystemBackend`` class.
This parameter was previously deprecated in favor of ``get_connection``.
The ``get_connections`` function has been removed from the ``LocalFilesystemBackend`` class.
This function was previously deprecated in favor of ``get_connection``.

If your code still uses ``get_connections``, you should update it to use ``get_connection``
instead to ensure compatibility with future Airflow versions.
Expand Down

0 comments on commit 9fb3d07

Please sign in to comment.