genome_spy.ParameterPredicate

class genome_spy.ParameterPredicate(empty=Undefined, param=Undefined, project=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for ParameterPredicate.

Methods

copy(*[, deep])

Return a copy with optional keyword updates.

empty(value)

Return a copy with empty updated.

param(value)

Return a copy with param updated.

project([value, x, y])

Return a copy with project updated.

resolve_references()

Return this class schema with referenced properties merged in.

to_dict(*[, validate])

Serialize this schema wrapper to a JSON-compatible dictionary.

to_json(*[, validate])

Serialize this schema wrapper to formatted JSON.

validate(instance)

Validate an instance against this wrapper's schema.

empty(value)View on GitHub

Return a copy with empty updated.

param(value)View on GitHub

Return a copy with param updated.

project(value=Undefined, /, *, x=Undefined, y=Undefined)View on GitHub

Return a copy with project updated.

Parameters:
  • x (Literal['x', 'x2']) – Schema-defined x property.

  • y (Literal['y', 'y2']) – Schema-defined y property.

copy(*, deep=True, **kwds)View on GitHub

Return a copy with optional keyword updates.

classmethod resolve_references()View on GitHub

Return this class schema with referenced properties merged in.

to_dict(*, validate=True)View on GitHub

Serialize this schema wrapper to a JSON-compatible dictionary.

to_json(*, validate=True)View on GitHub

Serialize this schema wrapper to formatted JSON.

classmethod validate(instance)View on GitHub

Validate an instance against this wrapper’s schema.