apache-airflow-providers-sftp 4.8.0rc1__py3-none-any.whl → 4.8.1rc1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,7 +27,7 @@ import packaging.version
27
27
 
28
28
  __all__ = ["__version__"]
29
29
 
30
- __version__ = "4.8.0"
30
+ __version__ = "4.8.1"
31
31
 
32
32
  try:
33
33
  from airflow import __version__ as airflow_version
@@ -28,8 +28,9 @@ def get_provider_info():
28
28
  "name": "SFTP",
29
29
  "description": "`SSH File Transfer Protocol (SFTP) <https://tools.ietf.org/wg/secsh/draft-ietf-secsh-filexfer/>`__\n",
30
30
  "suspended": False,
31
- "source-date-epoch": 1701983416,
31
+ "source-date-epoch": 1703288169,
32
32
  "versions": [
33
+ "4.8.1",
33
34
  "4.8.0",
34
35
  "4.7.0",
35
36
  "4.6.1",
@@ -61,8 +61,8 @@ class SFTPHook(SSHHook):
61
61
  conn_type = "sftp"
62
62
  hook_name = "SFTP"
63
63
 
64
- @staticmethod
65
- def get_ui_field_behaviour() -> dict[str, Any]:
64
+ @classmethod
65
+ def get_ui_field_behaviour(cls) -> dict[str, Any]:
66
66
  return {
67
67
  "hidden_fields": ["schema"],
68
68
  "relabeling": {
@@ -74,7 +74,7 @@ class SFTPOperator(BaseOperator):
74
74
  remote_filepath="/tmp/tmp1/tmp2/file.txt",
75
75
  operation="put",
76
76
  create_intermediate_dirs=True,
77
- dag=dag
77
+ dag=dag,
78
78
  )
79
79
 
80
80
  """
@@ -141,8 +141,8 @@ class SFTPOperator(BaseOperator):
141
141
  self.sftp_hook = SFTPHook(ssh_conn_id=self.ssh_conn_id)
142
142
  if self.sftp_hook is None:
143
143
  warnings.warn(
144
- "Parameter `ssh_hook` is deprecated"
145
- "Please use `sftp_hook` instead."
144
+ "Parameter `ssh_hook` is deprecated. "
145
+ "Please use `sftp_hook` instead. "
146
146
  "The old parameter `ssh_hook` will be removed in a future version.",
147
147
  AirflowProviderDeprecationWarning,
148
148
  stacklevel=2,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-sftp
3
- Version: 4.8.0rc1
3
+ Version: 4.8.1rc1
4
4
  Summary: Provider package apache-airflow-providers-sftp for Apache Airflow
5
5
  Keywords: airflow-provider,sftp,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
@@ -26,8 +26,8 @@ Requires-Dist: paramiko>=2.8.0
26
26
  Requires-Dist: apache-airflow-providers-openlineage ; extra == "openlineage"
27
27
  Requires-Dist: apache-airflow-providers-ssh ; extra == "ssh"
28
28
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
29
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-sftp/4.8.0/changelog.html
30
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-sftp/4.8.0
29
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-sftp/4.8.1/changelog.html
30
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-sftp/4.8.1
31
31
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
32
32
  Project-URL: Source Code, https://github.com/apache/airflow
33
33
  Project-URL: Twitter, https://twitter.com/ApacheAirflow
@@ -79,7 +79,7 @@ Provides-Extra: ssh
79
79
 
80
80
  Package ``apache-airflow-providers-sftp``
81
81
 
82
- Release: ``4.8.0.rc1``
82
+ Release: ``4.8.1.rc1``
83
83
 
84
84
 
85
85
  `SSH File Transfer Protocol (SFTP) <https://tools.ietf.org/wg/secsh/draft-ietf-secsh-filexfer/>`__
@@ -92,7 +92,7 @@ This is a provider package for ``sftp`` provider. All classes for this provider
92
92
  are in ``airflow.providers.sftp`` python package.
93
93
 
94
94
  You can find package information and changelog for the provider
95
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-sftp/4.8.0/>`_.
95
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-sftp/4.8.1/>`_.
96
96
 
97
97
  Installation
98
98
  ------------
@@ -135,4 +135,4 @@ Dependent package
135
135
  ============================================================================================================== ===============
136
136
 
137
137
  The changelog for the provider package can be found in the
138
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-sftp/4.8.0/changelog.html>`_.
138
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-sftp/4.8.1/changelog.html>`_.
@@ -1,16 +1,16 @@
1
1
  airflow/providers/sftp/LICENSE,sha256=ywUBpKZc7Jb96rVt5I3IDbg7dIJAbUSHkuoDcF3jbH4,13569
2
- airflow/providers/sftp/__init__.py,sha256=zLJfNKujXfFzp-acWeX4IArD5YaPwZKyICIqFg09k8s,1579
3
- airflow/providers/sftp/get_provider_info.py,sha256=pqgHqgsKpDYVVTDwCDT-lN1-2SrDA4WR4yE-rhlJKn0,3583
2
+ airflow/providers/sftp/__init__.py,sha256=LbjFtU-t4JQExq5Kr2VYpxiNZ2XsGzYxUVSjcVXs4_o,1579
3
+ airflow/providers/sftp/get_provider_info.py,sha256=TfC_hAt59USg1c3RGpUpyu1nu2-zvGc5ebod3T8CPPU,3604
4
4
  airflow/providers/sftp/decorators/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
5
5
  airflow/providers/sftp/decorators/sensors/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
6
6
  airflow/providers/sftp/decorators/sensors/sftp.py,sha256=dRzXMgWf5SgGCQ2gOSvpzfJx8V9t98EorB0QZYccb94,2862
7
7
  airflow/providers/sftp/hooks/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
8
- airflow/providers/sftp/hooks/sftp.py,sha256=ozn2NUuT2y-Uxyl39pYXysSr_p10CNGr2iQPz3vsD_s,14904
8
+ airflow/providers/sftp/hooks/sftp.py,sha256=6eH7WihVOy4aP_RXV3uUWahT7bbLL89Fmr3tMf5_5TY,14906
9
9
  airflow/providers/sftp/operators/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
10
- airflow/providers/sftp/operators/sftp.py,sha256=M943tu8bzzOqIxCx0ZHzo1BVmEUyJqrWCa5_yhUt1Fw,11451
10
+ airflow/providers/sftp/operators/sftp.py,sha256=J8A3b-s2OSKg5ZIjk05fkVPAwSvP8YZKgEYzIFwLkRU,11455
11
11
  airflow/providers/sftp/sensors/__init__.py,sha256=9hdXHABrVpkbpjZgUft39kOFL2xSGeG4GEua0Hmelus,785
12
12
  airflow/providers/sftp/sensors/sftp.py,sha256=nFoAi1n4htXQGrcNcczvMQKYmzJS49VPaSyVIQchiJ8,4655
13
- apache_airflow_providers_sftp-4.8.0rc1.dist-info/entry_points.txt,sha256=Fa1IkUHV6qnIuwLd0U7tKoklbLXXVrbB2hhG6N7Q-zo,100
14
- apache_airflow_providers_sftp-4.8.0rc1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
15
- apache_airflow_providers_sftp-4.8.0rc1.dist-info/METADATA,sha256=baBqIl-1Jh9zYfmqW4-8HAQMFmhNTWzPd394eSB-Sko,6266
16
- apache_airflow_providers_sftp-4.8.0rc1.dist-info/RECORD,,
13
+ apache_airflow_providers_sftp-4.8.1rc1.dist-info/entry_points.txt,sha256=Fa1IkUHV6qnIuwLd0U7tKoklbLXXVrbB2hhG6N7Q-zo,100
14
+ apache_airflow_providers_sftp-4.8.1rc1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
15
+ apache_airflow_providers_sftp-4.8.1rc1.dist-info/METADATA,sha256=VzMeumCK1VN_KPGKWL_MoYAkZ5MkjpkDcg235ZgQ7Js,6266
16
+ apache_airflow_providers_sftp-4.8.1rc1.dist-info/RECORD,,