genome_spy.AxisGenomeData

class genome_spy.AxisGenomeData(channel=Undefined, type=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for AxisGenomeData.

Methods

channel(value)

Return a copy with channel updated.

copy(*[, deep])

Return a copy with optional keyword updates.

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.

channel(value)View on GitHub

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