Skip to content

Commit 0e9ffd0

Browse files
fix: fix testcases under Python 3.9
1 parent 0b1ba6d commit 0e9ffd0

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

hydrogram/methods/phone/create_video_chat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# You should have received a copy of the GNU Lesser General Public License
1717
# along with Hydrogram. If not, see <http://www.gnu.org/licenses/>.
1818

19+
from __future__ import annotations
1920

2021
from datetime import datetime
2122

hydrogram/methods/phone/discard_group_call.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# You should have received a copy of the GNU Lesser General Public License
1717
# along with Hydrogram. If not, see <http://www.gnu.org/licenses/>.
1818

19+
from __future__ import annotations
1920

2021
import hydrogram
2122
from hydrogram import types, raw

hydrogram/methods/phone/invite_group_call_members.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
# You should have received a copy of the GNU Lesser General Public License
1717
# along with Hydrogram. If not, see <http://www.gnu.org/licenses/>.
1818

19+
from __future__ import annotations
20+
1921
import hydrogram
2022
from hydrogram import types, raw
2123

0 commit comments

Comments
 (0)