Skip to content

Commit

Permalink
Change filter genericscalartype into filtertype
Browse files Browse the repository at this point in the history
  • Loading branch information
sudan45 authored and AdityaKhatri committed Oct 16, 2024
1 parent e994cbc commit c1cd2af
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion apps/analysis/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,18 @@ class Meta:
'title',
'main_statement',
'information_gap',
'filters',
)

assignee = graphene.Field(UserType, required=True)
analysis_id = graphene.ID(source='analysis_id', required=True)
cloned_from = graphene.ID(source='cloned_from_id')
analyzed_entries_count = graphene.Int(required=True)
filters = graphene.List(graphene.NonNull(
type('FilterDataType', (graphene.ObjectType,), {
'id': graphene.String(),
'key': graphene.String(),
'unique_id': graphene.String()
})))

# XXX: N+1 and No pagination
statements = graphene.List(graphene.NonNull(AnalyticalStatementType))
Expand Down

0 comments on commit c1cd2af

Please sign in to comment.