genome_spy.CoordinateLookupInput

class genome_spy.CoordinateLookupInput(data=Undefined, transform=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for CoordinateLookupInput.

Methods

copy(*[, deep])

Return a copy with optional keyword updates.

data([value, description, lazy])

Return a copy with a LazyData data.

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.

transform(value)

Return a copy with transform updated.

validate(instance)

Validate an instance against this wrapper's schema.

data(value=Undefined, /, *, description=Undefined, lazy=Undefined)View on GitHub

Return a copy with a LazyData data.

Parameters:
  • description (str) – A description of the data source. Can be used for documentation and to explain the role of the lazy data in the visualization.

  • lazy (LazyDataParams | dict[str, Any]) – Schema-defined lazy property.

transform(value)View on GitHub

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