Skip to content

Commit

Permalink
Merge pull request #5406 from opsmill/dga-20250109-fix-task-related-n…
Browse files Browse the repository at this point in the history
…odes

Fix issue with task related nodes
  • Loading branch information
dgarros authored Jan 9, 2025
2 parents 16e5f3d + 9f3b7a8 commit d231ae7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/infrahub/graphql/types/task.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from graphene import Enum, Field, Float, List, NonNull, ObjectType, String
from graphene import Enum, Field, Float, List, ObjectType, String
from graphene.types.generic import GenericScalar
from prefect.client.schemas.objects import StateType

Expand Down Expand Up @@ -42,7 +42,7 @@ class TaskNode(Task):
required=False,
deprecation_reason="This field is deprecated and it will be removed in a future release, use related_nodes instead",
)
related_nodes = List(of_type=NonNull(TaskRelatedNode))
related_nodes = List(TaskRelatedNode)
logs = Field(TaskLogEdge)


Expand Down

0 comments on commit d231ae7

Please sign in to comment.