Need help implement the Embedding policy

I am trying to configure the embedding policy instead of KerasPolicy , MemoizationPolicy.

I am facing some error while using the new version of the core.[0.12.3]

def load(config_file: Optional[Text]) -> List['Policy']:
SyntaxError: invalid syntax

unable to use config.yml

visited : rasa_core/policies.rst at master · RasaHQ/rasa_core · GitHub Training and Policies

The type annotation syntax is supported only after python 3.5+. What python version you are using?

Oh! I was trying with with python 2.7. @naoko thanks you. let me try with 3.5