CIResults.serializers module

class CIResults.serializers.BugCompleteSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of Bug

class CIResults.serializers.BugMinimalSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of Bug

class CIResults.serializers.BugSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of Bug

class CIResults.serializers.BugTrackerAccountSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of BugTrackerAccount

class CIResults.serializers.BugTrackerSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of BugTracker

class CIResults.serializers.BuildMinimalSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of Build

class CIResults.serializers.BuildSerializer(*args, **kwargs)

Bases: UpdateMixin, ModelSerializer

class Meta

Bases: object

model

alias of Build

class CIResults.serializers.ComponentSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of Component

class CIResults.serializers.DynamicFieldsModelSerializer(*args, **kwargs)

Bases: ModelSerializer

A ModelSerializer that takes an additional extra_fields argument that controls which fields should be displayed. Subclass should define a default_fields list.

classmethod extra_fields() list[str]
class CIResults.serializers.ExecutionTimeSerializer(*args, **kwargs)

Bases: Serializer

exception CIResults.serializers.ImportMachineError

Bases: Exception

class CIResults.serializers.ImportMachineSerializer(*args, **kwargs)

Bases: Serializer

create(validated_data)
class CIResults.serializers.ImportTestResult(*args, **kwargs)

Bases: Serializer

class CIResults.serializers.ImportTestSuiteRunSerializer(*args, **kwargs)

Bases: Serializer

create(validated_data)
class CIResults.serializers.IssueFilterSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of IssueFilter

class CIResults.serializers.IssueSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of Issue

class CIResults.serializers.IssueSerializerMinimal(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of Issue

class CIResults.serializers.KnownIssuesSerializer(*args, **kwargs)

Bases: Serializer

get_bugs(obj)
get_machine(obj)
get_run_id(obj)
get_status(obj)
get_test(obj)
get_testsuite(obj)
get_url(obj)
class CIResults.serializers.MachineSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of Machine

class CIResults.serializers.MachineTagSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of MachineTag

class CIResults.serializers.MinimalMachineSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of Machine

class CIResults.serializers.MinimalRunConfigSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of RunConfig

class CIResults.serializers.PassRateStatisticsSerializer(*args, **kwargs)

Bases: Serializer

class CIResults.serializers.RateSerializer(*args, **kwargs)

Bases: Serializer

class CIResults.serializers.ReplicationScriptSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of ReplicationScript

class CIResults.serializers.RestIssueSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of Issue

class CIResults.serializers.RestViewMachineSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of Machine

class CIResults.serializers.RunConfigDiffSerializer(*args, **kwargs)

Bases: Serializer

class BuildDiff2Serializer(*args, **kwargs)

Bases: Serializer

class RunConfigDiffNewTestsSerializer(*args, **kwargs)

Bases: Serializer

get_builds(obj)
get_new_tests(obj)
class CIResults.serializers.RunConfigResultsDiffSerializer(*args, **kwargs)

Bases: Serializer

get_machine(obj)
get_test(obj)
get_testsuite(obj)
class CIResults.serializers.RunConfigResultsSerializer(*args, **kwargs)

Bases: Serializer

get_bugs_covering(obj)
class CIResults.serializers.RunConfigSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of RunConfig

validate(data)
class CIResults.serializers.RunConfigTagSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of RunConfigTag

class CIResults.serializers.ShortenerSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of Shortener

class CIResults.serializers.TestSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of Test

class CIResults.serializers.TestSuiteSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of TestSuite

class CIResults.serializers.TextStatusSerializer(*args, **kwargs)

Bases: ModelSerializer

class Meta

Bases: object

model

alias of TextStatus

class CIResults.serializers.UnknownFailureSerializer(*args, **kwargs)

Bases: DynamicFieldsModelSerializer

class Meta

Bases: object

model

alias of UnknownFailure

class CIResults.serializers.UpdateMixin(*args, **kwargs)

Bases: ModelSerializer

get_extra_kwargs()
CIResults.serializers.serialize_MetricPassRatePerRunconfig(history)
CIResults.serializers.serialize_MetricPassRatePerTest(metric_passrate)
CIResults.serializers.serialize_bug(bug, new_comments=None)
CIResults.serializers.serialize_issue_hitrate(issues, minimal=False)