Skip to content

Instantly share code, notes, and snippets.

Avatar

Kenny Worden kkworden

View GitHub Profile
@jasonphillips
jasonphillips / graphql_tools.py
Last active Apr 7, 2020
python graphql-tools imitation
View graphql_tools.py
import graphql
# build_executable schema
#
# accepts schema_definition (string) and resolvers (object) in style of graphql-tools
# returns a schema ready for execution
def build_executable_schema(schema_definition, resolvers):
ast = graphql.parse(schema_definition)
schema = graphql.build_ast_schema(ast)
@staltz
staltz / introrx.md
Last active Aug 15, 2020
The introduction to Reactive Programming you've been missing
View introrx.md
You can’t perform that action at this time.