forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed deprecated param from local_filesystem (apache#41533)
* removed deprecated parameters from local_filesystem * add newsfragments file
- Loading branch information
1 parent
796699b
commit 166de82
Showing
2 changed files
with
26 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
**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``. | ||
|
||
If your code still uses ``load_connections``, you should update it to use ``load_connections_dict`` | ||
instead to ensure compatibility with future Airflow versions. | ||
|
||
Example update: | ||
|
||
.. code-block:: python | ||
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``. | ||
|
||
If your code still uses ``get_connections``, you should update it to use ``get_connection`` | ||
instead to ensure compatibility with future Airflow versions. | ||
|
||
|
||
Example update: | ||
|
||
.. code-block:: python | ||
connection_by_conn_id = LocalFilesystemBackend().get_connection(conn_id="conn_id") |