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 #294

Closed spoqa-teo closed 3 years ago

spoqa-teo 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