genome_spy.SelectionFilterParams

class genome_spy.SelectionFilterParams(debounce=Undefined, description=Undefined, empty=Undefined, fields=Undefined, param=Undefined, type=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for SelectionFilterParams.

Methods

copy(*[, deep])

Return a copy with optional keyword updates.

debounce(value)

Return a copy with debounce updated.

description(value)

Return a copy with description updated.

empty(value)

Return a copy with empty updated.

fields([value, color, fill, shape, stroke, ...])

Return a copy with fields updated.

param(value)

Return a copy with param 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.

type(value)

Return a copy with type updated.

validate(instance)

Validate an instance against this wrapper's schema.

debounce(value)View on GitHub

Return a copy with debounce updated.

description(value)View on GitHub

Return a copy with description updated.

empty(value)View on GitHub

Return a copy with empty updated.

fields(value=Undefined, /, *, color=Undefined, fill=Undefined, shape=Undefined, stroke=Undefined, x=Undefined, x2=Undefined, y=Undefined, y2=Undefined)View on GitHub

Return a copy with fields updated.

Parameters:
  • color (Field_T) – Schema-defined color property.

  • fill (Field_T) – Schema-defined fill property.

  • shape (Field_T) – Schema-defined shape property.

  • stroke (Field_T) – Schema-defined stroke property.

  • x (Field_T) – Schema-defined x property.

  • x2 (Field_T) – Schema-defined x2 property.

  • y (Field_T) – Schema-defined y property.

  • y2 (Field_T) – Schema-defined y2 property.

param(value)View on GitHub

Return a copy with param updated.

type(value)View on GitHub

Return a copy with type updated.

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.