Questions tagged [graphene-sqlalchemy]

graphene-sqlalchemy allows user to create GraphQL API using Python/SQLalchemy. Graphene-Python is a library for building GraphQL APIs in Python which provides an extendable API for making developers' lives easier.

graphene-sqlalchemy allows user to create GraphQL API using Python/SQLalchemy. Graphene-Python is a library for building GraphQL APIs in Python which provides an extendable API for making developers' lives easier.

32 questions
0
votes
1 answer

How to add filtering by id to my user resolver?

I have schema.py that goes like this: import graphene from app import db from graphene import relay from app.models import User as UserModel, Event as EventModel from graphene_sqlalchemy import SQLAlchemyConnectionField, SQLAlchemyObjectType class…
saki709
  • 145
  • 2
  • 9
0
votes
1 answer

SQLAlchemy not detecting ForeignKeys on _determine_joins, NoForeignKeysError

I'm having an issue where SQLAlchemy throws a NoForeignKeysError when it attempts to determine the primary join for two tables. The odd thing is this issue only occurs on the second instantiation of the models (i.e. if I drop the tables and recreate…
ALee
  • 25
  • 1
  • 6
1 2
3