Python Type hints as syntax error

python
flask

#1

My builds have been failing because CircleCI incorrectly marks functions which contain type hints in it’s signature as incorrect.

Eg:
*/gateway/controllers/hooks.py", line 6 def post(self, hook: dict) -> dict: ^ SyntaxError: invalid syntax

Are there know workarounds?

Thanks.


#2

Hey bernard I need a team to develop my project. Could you help me? I am from India. And for people around us I have to do something by developing networking software. I ve the idea but don’t know how to implement this…


#3

Hi Kar

Add me up on Skype. My ID is bernard.ojengwa


#4

Bernard, I added you on Skype. My name is Ravi Mishra.


#5