예제 #1
0
class TextLogErrorGraph(DjangoObjectType):
    class Meta:
        model = TextLogError

    bug_suggestions = ObjectScalar()

    def resolve_bug_suggestions(self, info, **kwargs):
        return error_summary.bug_suggestions_line(self)
예제 #2
0
class FailureLineGraph(DjangoObjectType):
    class Meta:
        model = FailureLine

    action = ObjectScalar()