olucurious / PyFCM

Python client for FCM - Firebase Cloud Messaging (Android, iOS and Web)
http://olucurious.github.io/PyFCM/
MIT License
803 stars 206 forks source link

SyntaxError: getting error while pytesting in python 2.7 #295

Closed dooyeoung closed 2 years ago

dooyeoung commented 3 years ago

type annotation throws an error in python 2.7. Unfortunately I can't upgrade python. So I have to use python 2.7. I think there are quite a few people in the same situation as me. I think this issue can be easily solved

https://github.com/olucurious/PyFCM/blob/master/pyfcm/fcm.py#L564

pokoli commented 2 years ago

I think this can be closed as PR is merge: /cc @olucurious