supercontest.graphql.schema

The [...] specificiations in all the filter fields tells graphene-sqlalchemy-filter to infer all the different filters that the field might support (eq, lt, gt, etc).

If you use pure SQLAlchemyConnectionField structures, then all of the field specifications below would be unnecessary. It is a bit of a pain to have to update the API here when the models change, but it’s worth the convenience of being able to filter on column values.

You don’t need to put ORM relationships in the fields below, just true columns.

Technically, there are no blockers for querying the current week’s picks (sniffing competition).

class supercontest.graphql.schema.ContestantConnection(*args, **kwargs)

Bases: Connection

Connection for seasons.

Edge

alias of ContestantEdge

class supercontest.graphql.schema.ContestantNode(*args, **kwargs)

Bases: SQLAlchemyObjectType

Node for seasons.

class supercontest.graphql.schema.CoverageConnection(*args, **kwargs)

Bases: Connection

Connection for seasons.

Edge

alias of CoverageEdge

class supercontest.graphql.schema.CoverageNode(*args, **kwargs)

Bases: SQLAlchemyObjectType

Node for seasons.

class supercontest.graphql.schema.GameConnection(*args, **kwargs)

Bases: Connection

Connection for seasons.

Edge

alias of GameEdge

class supercontest.graphql.schema.GameNode(*args, **kwargs)

Bases: SQLAlchemyObjectType

Node for seasons.

class supercontest.graphql.schema.LeagueConnection(*args, **kwargs)

Bases: Connection

Connection for seasons.

Edge

alias of LeagueEdge

class supercontest.graphql.schema.LeagueNode(*args, **kwargs)

Bases: SQLAlchemyObjectType

Node for seasons.

class supercontest.graphql.schema.LocationConnection(*args, **kwargs)

Bases: Connection

Connection for seasons.

Edge

alias of LocationEdge

class supercontest.graphql.schema.LocationNode(*args, **kwargs)

Bases: SQLAlchemyObjectType

Node for seasons.

class supercontest.graphql.schema.PickConnection(*args, **kwargs)

Bases: Connection

Connection for seasons.

Edge

alias of PickEdge

class supercontest.graphql.schema.PickNode(*args, **kwargs)

Bases: SQLAlchemyObjectType

Node for seasons.

class supercontest.graphql.schema.PredictionConnection(*args, **kwargs)

Bases: Connection

Connection for seasons.

Edge

alias of PredictionEdge

class supercontest.graphql.schema.PredictionNode(*args, **kwargs)

Bases: SQLAlchemyObjectType

Node for seasons.

class supercontest.graphql.schema.Query(*args, **kwargs)

Bases: ObjectType

Graphql overall query.

contestants = <graphene.relay.connection.IterableConnectionField object>
coverages = <graphene.relay.connection.IterableConnectionField object>
games = <graphene.relay.connection.IterableConnectionField object>
leagues = <graphene.relay.connection.IterableConnectionField object>
locations = <graphene.relay.connection.IterableConnectionField object>
node = <graphene.relay.node.NodeField object>
picks = <graphene.relay.connection.IterableConnectionField object>
predictions = <graphene.relay.connection.IterableConnectionField object>
roles = <graphene.relay.connection.IterableConnectionField object>
seasons = <graphene.relay.connection.IterableConnectionField object>
statuses = <graphene.relay.connection.IterableConnectionField object>
teams = <graphene.relay.connection.IterableConnectionField object>
users = <graphene.relay.connection.IterableConnectionField object>
weeks = <graphene.relay.connection.IterableConnectionField object>
class supercontest.graphql.schema.RoleConnection(*args, **kwargs)

Bases: Connection

Connection for seasons.

Edge

alias of RoleEdge

class supercontest.graphql.schema.RoleNode(*args, **kwargs)

Bases: SQLAlchemyObjectType

Node for seasons.

class supercontest.graphql.schema.SeasonConnection(*args, **kwargs)

Bases: Connection

Connection for seasons.

Edge

alias of SeasonEdge

class supercontest.graphql.schema.SeasonNode(*args, **kwargs)

Bases: SQLAlchemyObjectType

Node for seasons.

class supercontest.graphql.schema.StatusConnection(*args, **kwargs)

Bases: Connection

Connection for seasons.

Edge

alias of StatusEdge

class supercontest.graphql.schema.StatusNode(*args, **kwargs)

Bases: SQLAlchemyObjectType

Node for seasons.

class supercontest.graphql.schema.TeamConnection(*args, **kwargs)

Bases: Connection

Connection for seasons.

Edge

alias of TeamEdge

class supercontest.graphql.schema.TeamNode(*args, **kwargs)

Bases: SQLAlchemyObjectType

Node for seasons.

class supercontest.graphql.schema.UserConnection(*args, **kwargs)

Bases: Connection

Connection for seasons.

Edge

alias of UserEdge

class supercontest.graphql.schema.UserNode(*args, **kwargs)

Bases: SQLAlchemyObjectType

Node for seasons.

class supercontest.graphql.schema.WeekConnection(*args, **kwargs)

Bases: Connection

Connection for seasons.

Edge

alias of WeekEdge

class supercontest.graphql.schema.WeekNode(*args, **kwargs)

Bases: SQLAlchemyObjectType

Node for seasons.