Skip to content
Advertisement

Tag: graphene-python

Graphene Python class doesn’t recognize self

I have the following Python module that implements Graphene. The problem is that resolvers that call other methods of the class raise this error: The line that rises the error is: if self.validate_path(path): I don’t know why, if method validate_path() is in the same class that the method that calls it. Answer This is because Graphene considering all resolver methods

Error in graphQL python example code

I am starting working on GraphQL and as I am from python background I am using GraphQL with Python. I followed the steps provided here Link but I am still facing issues. Please, help me resolve the issue. Answer You are not giving much information here, maybe the code that triggers the error would be helpful, but googling I found

Advertisement