Answers for "django graphene without model"

0

django graphene without model

class Query(graphene.ObjectType):

    searcher = graphene.JSONString(name=graphene.JSONString(default_value='{"first": 100}'))

    def resolve_searcher(self, type, passed_json):
        some_result = do_some_with_json(passed_json)
        return some_result
Posted by: Guest on October-21-2021

Python Answers by Framework

Browse Popular Code Answers by Language