Reputation: 1391
I am dealing with some installation scripts from Github and am trying to execute this script which looks like it fails because of these lines:
current_app: 'PillarServer' = LocalProxy(_get_current_app)
"""the current app, annotated as PillarServer"""
Executing it with Python 3.5 returns this error:
$python main.py
File "main.py", line 33
current_app: 'PillarServer' = LocalProxy(_get_current_app)
^
SyntaxError: invalid syntax
Can anyone help me a bit here? I am not an expert in Python but am forced to use this script.
Upvotes: 2
Views: 267