apache-airflow-providers-telegram 4.1.0rc2__py3-none-any.whl → 4.1.1__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.
@@ -28,7 +28,7 @@ import packaging.version
28
28
 
29
29
  __all__ = ["__version__"]
30
30
 
31
- __version__ = "4.1.0"
31
+ __version__ = "4.1.1"
32
32
 
33
33
  try:
34
34
  from airflow import __version__ as airflow_version
@@ -29,6 +29,7 @@ def get_provider_info():
29
29
  "description": "`Telegram <https://telegram.org/>`__\n",
30
30
  "suspended": False,
31
31
  "versions": [
32
+ "4.1.1",
32
33
  "4.1.0",
33
34
  "4.0.0",
34
35
  "3.1.1",
@@ -15,7 +15,7 @@
15
15
  # KIND, either express or implied. See the License for the
16
16
  # specific language governing permissions and limitations
17
17
  # under the License.
18
- """Hook for Telegram"""
18
+ """Hook for Telegram."""
19
19
  from __future__ import annotations
20
20
 
21
21
  import asyncio
@@ -71,7 +71,7 @@ class TelegramHook(BaseHook):
71
71
 
72
72
  def get_conn(self) -> telegram.Bot:
73
73
  """
74
- Returns the telegram bot client
74
+ Returns the telegram bot client.
75
75
 
76
76
  :return: telegram bot client
77
77
  """
@@ -79,7 +79,7 @@ class TelegramHook(BaseHook):
79
79
 
80
80
  def __get_token(self, token: str | None, telegram_conn_id: str | None) -> str:
81
81
  """
82
- Returns the telegram API token
82
+ Returns the telegram API token.
83
83
 
84
84
  :param token: telegram API token
85
85
  :param telegram_conn_id: telegram connection name
@@ -100,7 +100,7 @@ class TelegramHook(BaseHook):
100
100
 
101
101
  def __get_chat_id(self, chat_id: str | None, telegram_conn_id: str | None) -> str | None:
102
102
  """
103
- Returns the telegram chat ID for a chat/channel/group
103
+ Returns the telegram chat ID for a chat/channel/group.
104
104
 
105
105
  :param chat_id: optional chat ID
106
106
  :param telegram_conn_id: telegram connection name
@@ -15,7 +15,7 @@
15
15
  # KIND, either express or implied. See the License for the
16
16
  # specific language governing permissions and limitations
17
17
  # under the License.
18
- """Operator for Telegram"""
18
+ """Operator for Telegram."""
19
19
  from __future__ import annotations
20
20
 
21
21
  from typing import TYPE_CHECKING, Sequence
@@ -71,7 +71,7 @@ class TelegramOperator(BaseOperator):
71
71
  super().__init__(**kwargs)
72
72
 
73
73
  def execute(self, context: Context) -> None:
74
- """Calls the TelegramHook to post the provided Telegram message"""
74
+ """Calls the TelegramHook to post the provided Telegram message."""
75
75
  if self.text:
76
76
  self.telegram_kwargs["text"] = self.text
77
77
 
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-telegram
3
- Version: 4.1.0rc2
3
+ Version: 4.1.1
4
4
  Summary: Provider for Apache Airflow. Implements apache-airflow-providers-telegram package
5
5
  Home-page: https://airflow.apache.org/
6
6
  Download-URL: https://archive.apache.org/dist/airflow/providers
7
7
  Author: Apache Software Foundation
8
8
  Author-email: dev@airflow.apache.org
9
9
  License: Apache License 2.0
10
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.1.0/
10
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.1.1/
11
11
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
12
12
  Project-URL: Source Code, https://github.com/apache/airflow
13
13
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
@@ -21,16 +21,16 @@ Classifier: Intended Audience :: System Administrators
21
21
  Classifier: Framework :: Apache Airflow
22
22
  Classifier: Framework :: Apache Airflow :: Provider
23
23
  Classifier: License :: OSI Approved :: Apache Software License
24
- Classifier: Programming Language :: Python :: 3.7
25
24
  Classifier: Programming Language :: Python :: 3.8
26
25
  Classifier: Programming Language :: Python :: 3.9
27
26
  Classifier: Programming Language :: Python :: 3.10
27
+ Classifier: Programming Language :: Python :: 3.11
28
28
  Classifier: Topic :: System :: Monitoring
29
- Requires-Python: ~=3.7
29
+ Requires-Python: ~=3.8
30
30
  Description-Content-Type: text/x-rst
31
31
  License-File: LICENSE
32
32
  License-File: NOTICE
33
- Requires-Dist: apache-airflow (>=2.4.0.dev0)
33
+ Requires-Dist: apache-airflow (>=2.4.0)
34
34
  Requires-Dist: python-telegram-bot (>=20.0.0)
35
35
 
36
36
 
@@ -54,7 +54,7 @@ Requires-Dist: python-telegram-bot (>=20.0.0)
54
54
 
55
55
  Package ``apache-airflow-providers-telegram``
56
56
 
57
- Release: ``4.1.0rc2``
57
+ Release: ``4.1.1``
58
58
 
59
59
 
60
60
  `Telegram <https://telegram.org/>`__
@@ -67,7 +67,7 @@ This is a provider package for ``telegram`` provider. All classes for this provi
67
67
  are in ``airflow.providers.telegram`` python package.
68
68
 
69
69
  You can find package information and changelog for the provider
70
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.1.0/>`_.
70
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.1.1/>`_.
71
71
 
72
72
 
73
73
  Installation
@@ -77,7 +77,7 @@ You can install this package on top of an existing Airflow 2 installation (see `
77
77
  for the minimum Airflow version supported) via
78
78
  ``pip install apache-airflow-providers-telegram``
79
79
 
80
- The package supports the following python versions: 3.7,3.8,3.9,3.10
80
+ The package supports the following python versions: 3.8,3.9,3.10,3.11
81
81
 
82
82
  Requirements
83
83
  ------------
@@ -115,6 +115,21 @@ PIP package Version required
115
115
  Changelog
116
116
  ---------
117
117
 
118
+ 4.1.1
119
+ .....
120
+
121
+ .. note::
122
+ This release dropped support for Python 3.7
123
+
124
+ Misc
125
+ ~~~~
126
+
127
+ * ``Add note about dropping Python 3.7 for providers (#32015)``
128
+
129
+ .. Below changes are excluded from the changelog. Move them to
130
+ appropriate section above if needed. Do not delete the lines(!):
131
+ * ``Add D400 pydocstyle check - Providers (#31427)``
132
+
118
133
  4.1.0
119
134
  .....
120
135
 
@@ -0,0 +1,13 @@
1
+ airflow/providers/telegram/__init__.py,sha256=yrUND9n2Ca3fBxjeZWfv0Fj_8fkILGuv6fZrjeO-mys,1533
2
+ airflow/providers/telegram/get_provider_info.py,sha256=DKjszMmvsN-ZpXbmvt-Dpl41CPswU57-FsFkzXcH8KA,2363
3
+ airflow/providers/telegram/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
4
+ airflow/providers/telegram/hooks/telegram.py,sha256=Fv8iHud4t4benoQXcinf3_4QRcZ2OJQtv0dQMkii8hM,5241
5
+ airflow/providers/telegram/operators/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
6
+ airflow/providers/telegram/operators/telegram.py,sha256=jgcZLBpzpMwSS98Z0yNPGTx1IiXsyH8MWhRSppfd5dk,3013
7
+ apache_airflow_providers_telegram-4.1.1.dist-info/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
8
+ apache_airflow_providers_telegram-4.1.1.dist-info/METADATA,sha256=Yz16edBwnk_sYOtCBo2VxYMLs53IVcIQJotUFwSRSKY,11081
9
+ apache_airflow_providers_telegram-4.1.1.dist-info/NOTICE,sha256=m-6s2XynUxVSUIxO4rVablAZCvFq-wmLrqV91DotRBw,240
10
+ apache_airflow_providers_telegram-4.1.1.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
11
+ apache_airflow_providers_telegram-4.1.1.dist-info/entry_points.txt,sha256=37KRVYToCfK3tB19bFiv_lx9DJRvj3jSNFCC1jbVDis,105
12
+ apache_airflow_providers_telegram-4.1.1.dist-info/top_level.txt,sha256=OeMVH5md7fr2QQWpnZoOWWxWO-0WH1IP70lpTVwopPg,8
13
+ apache_airflow_providers_telegram-4.1.1.dist-info/RECORD,,
@@ -1,13 +0,0 @@
1
- airflow/providers/telegram/__init__.py,sha256=PWBWseJNoLKvH8MTwzfLhI-Ki97vMG4meYSLbIWpuds,1533
2
- airflow/providers/telegram/get_provider_info.py,sha256=HsrytutYXhVX4OYbbO722z_OFGdjBOrWPUX88bp3tfQ,2342
3
- airflow/providers/telegram/hooks/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
4
- airflow/providers/telegram/hooks/telegram.py,sha256=hZBAWSJes63xwofdlH0gXtr29_X6-rPGtlRBnmREoVY,5237
5
- airflow/providers/telegram/operators/__init__.py,sha256=mlJxuZLkd5x-iq2SBwD3mvRQpt3YR7wjz_nceyF1IaI,787
6
- airflow/providers/telegram/operators/telegram.py,sha256=gHQbi-fUUfUD09cTdAMWK244Rmo6l299eba14RqItqk,3011
7
- apache_airflow_providers_telegram-4.1.0rc2.dist-info/LICENSE,sha256=gXPVwptPlW1TJ4HSuG5OMPg-a3h43OGMkZRR1rpwfJA,10850
8
- apache_airflow_providers_telegram-4.1.0rc2.dist-info/METADATA,sha256=IzAMITCqelLF_BGrZZs4p3niSxJkqRSRBp8-VacISiY,10756
9
- apache_airflow_providers_telegram-4.1.0rc2.dist-info/NOTICE,sha256=m-6s2XynUxVSUIxO4rVablAZCvFq-wmLrqV91DotRBw,240
10
- apache_airflow_providers_telegram-4.1.0rc2.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
11
- apache_airflow_providers_telegram-4.1.0rc2.dist-info/entry_points.txt,sha256=37KRVYToCfK3tB19bFiv_lx9DJRvj3jSNFCC1jbVDis,105
12
- apache_airflow_providers_telegram-4.1.0rc2.dist-info/top_level.txt,sha256=OeMVH5md7fr2QQWpnZoOWWxWO-0WH1IP70lpTVwopPg,8
13
- apache_airflow_providers_telegram-4.1.0rc2.dist-info/RECORD,,