I am trying to understand the working of interfaces using the starwars example given in the github repository code. The execution of a simple query leads to an AssertionError
query = """query HeroNameQuery { hero { name } }"""
AssertionError: The type Droid does not match with the associated graphene type Droid.
After spending a lot of time searching a resolution of this issue, I couldn't find a right answer. The relevant files are given on github repository path: examples/starwars/data.py examples/starwars/schema.py
Please help.