Abstract ObjectTypes don't have a specific type.
See original GitHub issueI have this error, when I add a second inheritance class in my main Query
.
class Query(trainings.schema.Query, brainstormers.schema.Query):
"""This class will inherit from multiple Queries as we begin to add more apps to our project."""
pass
schema = graphene.Schema(name='MTP Schema')
schema.query = Query
Issue Analytics
- State:
- Created 8 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Why can't an object of abstract class be created?
An abstract type is defined largely as one that can't be created. You can create subtypes of it, but not of that type...
Read more >Abstract types and methods in Swift - Swift by Sundell
In object-oriented programming, an abstract type provides a base implementation that other types can inherit from in order to gain access to ...
Read more >Abstract Methods and Classes (The Java™ Tutorials ...
An abstract class is a class that is declared abstract —it may or may not include abstract methods. Abstract classes cannot be instantiated,...
Read more >Abstract Objects - Stanford Encyclopedia of Philosophy
Other platonists have argued that abstract objects are connected to empirical entities, either via abstraction (Steiner 1975; Resnik 1982; ...
Read more >Reading 12: Abstract Data Types
Objectives. Today's class introduces two ideas: Abstract data types; Representation independence. In this reading, we look at a powerful idea, abstract data ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi,
I wasn’t sure where this comment was best placed. Which is also in: https://github.com/graphql-python/graphene/issues/55
I’m attempting to create this level of abstraction as well. I’m using graphql-sqlalchemy and when I do something like:
I’m getting the following error:
TypeError: Invalid attributes: abstract
wow … this is amasing!!! thank you !!! you did a great job