apache-airflow-providers-telegram 4.3.0__tar.gz → 4.4.0rc1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: apache-airflow-providers-telegram
3
- Version: 4.3.0
3
+ Version: 4.4.0rc1
4
4
  Summary: Provider package apache-airflow-providers-telegram for Apache Airflow
5
5
  Keywords: airflow-provider,telegram,airflow,integration
6
6
  Author-email: Apache Software Foundation <dev@airflow.apache.org>
@@ -20,11 +20,11 @@ Classifier: Programming Language :: Python :: 3.9
20
20
  Classifier: Programming Language :: Python :: 3.10
21
21
  Classifier: Programming Language :: Python :: 3.11
22
22
  Classifier: Topic :: System :: Monitoring
23
- Requires-Dist: apache-airflow>=2.6.0
24
- Requires-Dist: python-telegram-bot>=20.0.0
23
+ Requires-Dist: apache-airflow>=2.6.0.dev0
24
+ Requires-Dist: python-telegram-bot>=20.2
25
25
  Project-URL: Bug Tracker, https://github.com/apache/airflow/issues
26
- Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.3.0/changelog.html
27
- Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.3.0
26
+ Project-URL: Changelog, https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.4.0/changelog.html
27
+ Project-URL: Documentation, https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.4.0
28
28
  Project-URL: Slack Chat, https://s.apache.org/airflow-slack
29
29
  Project-URL: Source Code, https://github.com/apache/airflow
30
30
  Project-URL: Twitter, https://twitter.com/ApacheAirflow
@@ -74,7 +74,7 @@ Project-URL: YouTube, https://www.youtube.com/channel/UCSXwxpWZQ7XZ1WL3wqevChA/
74
74
 
75
75
  Package ``apache-airflow-providers-telegram``
76
76
 
77
- Release: ``4.3.0``
77
+ Release: ``4.4.0.rc1``
78
78
 
79
79
 
80
80
  `Telegram <https://telegram.org/>`__
@@ -87,7 +87,7 @@ This is a provider package for ``telegram`` provider. All classes for this provi
87
87
  are in ``airflow.providers.telegram`` python package.
88
88
 
89
89
  You can find package information and changelog for the provider
90
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.3.0/>`_.
90
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.4.0/>`_.
91
91
 
92
92
  Installation
93
93
  ------------
@@ -105,8 +105,8 @@ Requirements
105
105
  PIP package Version required
106
106
  ======================= ==================
107
107
  ``apache-airflow`` ``>=2.6.0``
108
- ``python-telegram-bot`` ``>=20.0.0``
108
+ ``python-telegram-bot`` ``>=20.2``
109
109
  ======================= ==================
110
110
 
111
111
  The changelog for the provider package can be found in the
112
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.3.0/changelog.html>`_.
112
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.4.0/changelog.html>`_.
@@ -42,7 +42,7 @@
42
42
 
43
43
  Package ``apache-airflow-providers-telegram``
44
44
 
45
- Release: ``4.3.0``
45
+ Release: ``4.4.0.rc1``
46
46
 
47
47
 
48
48
  `Telegram <https://telegram.org/>`__
@@ -55,7 +55,7 @@ This is a provider package for ``telegram`` provider. All classes for this provi
55
55
  are in ``airflow.providers.telegram`` python package.
56
56
 
57
57
  You can find package information and changelog for the provider
58
- in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.3.0/>`_.
58
+ in the `documentation <https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.4.0/>`_.
59
59
 
60
60
  Installation
61
61
  ------------
@@ -73,8 +73,8 @@ Requirements
73
73
  PIP package Version required
74
74
  ======================= ==================
75
75
  ``apache-airflow`` ``>=2.6.0``
76
- ``python-telegram-bot`` ``>=20.0.0``
76
+ ``python-telegram-bot`` ``>=20.2``
77
77
  ======================= ==================
78
78
 
79
79
  The changelog for the provider package can be found in the
80
- `changelog <https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.3.0/changelog.html>`_.
80
+ `changelog <https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.4.0/changelog.html>`_.
@@ -27,7 +27,7 @@ import packaging.version
27
27
 
28
28
  __all__ = ["__version__"]
29
29
 
30
- __version__ = "4.3.0"
30
+ __version__ = "4.4.0"
31
31
 
32
32
  try:
33
33
  from airflow import __version__ as airflow_version
@@ -27,9 +27,10 @@ def get_provider_info():
27
27
  "package-name": "apache-airflow-providers-telegram",
28
28
  "name": "Telegram",
29
29
  "description": "`Telegram <https://telegram.org/>`__\n",
30
- "suspended": False,
31
- "source-date-epoch": 1701983425,
30
+ "state": "ready",
31
+ "source-date-epoch": 1705912297,
32
32
  "versions": [
33
+ "4.4.0",
33
34
  "4.3.0",
34
35
  "4.2.0",
35
36
  "4.1.1",
@@ -47,7 +48,7 @@ def get_provider_info():
47
48
  "1.0.1",
48
49
  "1.0.0",
49
50
  ],
50
- "dependencies": ["apache-airflow>=2.6.0", "python-telegram-bot>=20.0.0"],
51
+ "dependencies": ["apache-airflow>=2.6.0", "python-telegram-bot>=20.2"],
51
52
  "integrations": [
52
53
  {
53
54
  "integration-name": "Telegram",
@@ -63,8 +63,9 @@ class TelegramHook(BaseHook):
63
63
  telegram_conn_id: str | None = None,
64
64
  token: str | None = None,
65
65
  chat_id: str | None = None,
66
+ **kwargs,
66
67
  ) -> None:
67
- super().__init__()
68
+ super().__init__(**kwargs)
68
69
  self.token = self.__get_token(token, telegram_conn_id)
69
70
  self.chat_id = self.__get_chat_id(chat_id, telegram_conn_id)
70
71
  self.connection = self.get_conn()
@@ -28,7 +28,7 @@ build-backend = "flit_core.buildapi"
28
28
 
29
29
  [project]
30
30
  name = "apache-airflow-providers-telegram"
31
- version = "4.3.0"
31
+ version = "4.4.0.rc1"
32
32
  description = "Provider package apache-airflow-providers-telegram for Apache Airflow"
33
33
  readme = "README.rst"
34
34
  authors = [
@@ -55,13 +55,13 @@ classifiers = [
55
55
  ]
56
56
  requires-python = "~=3.8"
57
57
  dependencies = [
58
- "apache-airflow>=2.6.0",
59
- "python-telegram-bot>=20.0.0",
58
+ "apache-airflow>=2.6.0.dev0",
59
+ "python-telegram-bot>=20.2",
60
60
  ]
61
61
 
62
62
  [project.urls]
63
- "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.3.0"
64
- "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.3.0/changelog.html"
63
+ "Documentation" = "https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.4.0"
64
+ "Changelog" = "https://airflow.apache.org/docs/apache-airflow-providers-telegram/4.4.0/changelog.html"
65
65
  "Bug Tracker" = "https://github.com/apache/airflow/issues"
66
66
  "Source Code" = "https://github.com/apache/airflow"
67
67
  "Slack Chat" = "https://s.apache.org/airflow-slack"