graphene-sqlalchemy icon indicating copy to clipboard operation
graphene-sqlalchemy copied to clipboard

Graphene SQLAlchemy integration

Results 95 graphene-sqlalchemy issues
Sort by recently updated
recently updated
newest added

I'm failing to convert nested inputs into sqlalchemy models in mutations. Here's my example: Let's say I want to create a quiz. For that I have the following code: ```...

Hello, Do you know if it's possible to generate input arguments dynamically from the SQLAlchemy class that will be transformed by the mutation? Example: My input arguments for a `CreatePerson`...

`sqlalchemy.orm.class_mapper` relies on `sqlalchemy.orm.configure_mappers` to have been called - either explicitly or implicitly by attempting to interact with the mapper. This means that `graphene_sqlalchemy.utils.class_mapper` forces a call to `configure_mappers` – ...

I am transitioning to python from C#, I know in C# the problem of over fetching data has not yet been solved. But in javascript it has been solved by...

Right now, `SQLAlchemyConnectionField` uses the `get_query()` implementation in `graphene_sqlalchemy.utils`. The same code is in `SQLAlchemyObjectType`. https://github.com/graphql-python/graphene-sqlalchemy/blob/1d353f71f4ff256dcf69a7a13a27e4865282b044/graphene_sqlalchemy/fields.py#L18-L20 https://github.com/graphql-python/graphene-sqlalchemy/blob/1d353f71f4ff256dcf69a7a13a27e4865282b044/graphene_sqlalchemy/types.py#L146-L149 This means that if someone wants to update the query for an `SQLAlchemyObjectType`,...

The documentation and example code use: Example and ExampleModel. https://github.com/graphql-python/graphene-sqlalchemy/blob/08fcfc0b2548cd3519e4b19772acda4495089392/docs/tutorial.rst#schema ```python from models import db_session, Department as DepartmentModel, Employee as EmployeeModel class Department(SQLAlchemyObjectType): class Meta: model = DepartmentModel interfaces =...

When I print out the raw sql command, I found that all columns are selected. Does it make sense? I think only those specified from the frontend should be included....

Im having issues retrieving nodes by id that have composed primary keys. I was getting an error: > File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 846, in _get_impl > ','.join("'%s'" % c for c...

The get_query methods from both SQLAlchemyConnectionField and SQLAlchemyObjectType assume that the Base model has an attribute **_query_** but if this is a property it will fail. I have made this...

Hello, I have a class extending `Base` that has one field that's quite complex to retrieve - I want to run a complex SELECT (one that has a JOIN on...