question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Documentation on connection_field_factory

See original GitHub issue

I’m using graphene-sqlalchemy version 2.2.0 and I’m getting lots of createConnectionField is deprecated and will be removed in the next major version. Use SQLAlchemyObjectType.Meta.connection_field_factory instead. warnings.

Is there any example on how to configure this connection_field_factory? Are there any default factories? So far I couldn’t find any example using this new feature on the project site.

Thank you!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14

github_iconTop GitHub Comments

3reactions
zmwangxcommented, Jun 13, 2019

The problem here is that createConnectionField is used in default_connection_field_factory, so the library itself is relying on its supposedly deprecated API, and users get a WARNING through no fault of their own.

2reactions
jnakcommented, Jun 15, 2019

Here is the fix. Thanks for reporting the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Connection Field - Relay - Graphene-Python
A connection is a vitaminized version of a List that provides ways of slicing and paginating through it. The way you create Connection...
Read more >
Using Anypoint Studio to Configure JMS Connector 1.8 - Mule 4
In the Connection field select ActiveMQ Connection. In the Factory configuration field, select Edit Inline. Set the Broker url field value to the...
Read more >
Working with Engines and Connections — SQLAlchemy 2.0 ...
The above recipe illustrates two Engine objects that will each serve as factories for Connection objects that have pre-established “shard_id” execution options ...
Read more >
FactoryTalk Transaction Manager User Guide
Read this document and the documents listed in the additional resources section ... FactoryTalk Transaction Manager helps you manage your manufacturing.
Read more >
9 Oracle JCA Adapter for Database
In the Database Rows per XML Document field, specify the number of rows per XML ... A connection factory is specified so that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found