Skip to content

ResultAssertions🔗

Constructor🔗

ResultAssertions()

Methods🔗

build🔗

Builds the object.

def build() -> prometheus.ResultAssertions

max_frames🔗

Maximum frame count

def max_frames(max_frames: int) -> typing.Self

type_val🔗

Type asserts that the frame matches a known type structure.

Possible enum values:

  • ""

  • "timeseries-wide"

  • "timeseries-long"

  • "timeseries-many"

  • "timeseries-multi"

  • "directory-listing"

  • "table"

  • "numeric-wide"

  • "numeric-multi"

  • "numeric-long"

  • "log-lines"

def type_val(type_val: prometheus.ResultAssertionsType) -> typing.Self

type_version🔗

TypeVersion is the version of the Type property. Versions greater than 0.0 correspond to the dataplane

contract documentation https://grafana.github.io/dataplane/contract/.

def type_version(type_version: list[int]) -> typing.Self

See also🔗