Make start and end nonnull.
This commit is contained in:
parent
8143e9608c
commit
b6052ca89a
|
@ -39,8 +39,14 @@ class EventTrackNode(DjangoObjectType):
|
||||||
|
|
||||||
class EventInstanceNode(DjangoObjectType):
|
class EventInstanceNode(DjangoObjectType):
|
||||||
|
|
||||||
start = graphene.Int(description="When this instance of the event starts. In posix time.")
|
start = graphene.Int(
|
||||||
end = graphene.Int(description="When this instance of the event ends. In posix time.")
|
required=True,
|
||||||
|
description="When this instance of the event starts. In posix time.",
|
||||||
|
)
|
||||||
|
end = graphene.Int(
|
||||||
|
required=True,
|
||||||
|
description="When this instance of the event ends. In posix time.",
|
||||||
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = EventInstance
|
model = EventInstance
|
||||||
|
|
Loading…
Reference in a new issue