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

Remove annotaions for python 2.7 #296

Closed dooyeoung closed 3 years ago

dooyeoung commented 3 years ago

Type hints are excluded for python 2.7 compatibility, but they remain in two places, causing an error.

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

issue https://github.com/olucurious/PyFCM/issues/295