genome_spy.SizeDef

class genome_spy.SizeDef(grow=Undefined, maxPx=Undefined, minPx=Undefined, px=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for SizeDef.

Methods

copy(*[, deep])

Return a copy with optional keyword updates.

grow(value)

Return a copy with grow updated.

maxPx(value)

Return a copy with maxPx updated.

minPx(value)

Return a copy with minPx updated.

px(value)

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

grow(value)View on GitHub

Return a copy with grow updated.

maxPx(value)View on GitHub

Return a copy with maxPx updated.

minPx(value)View on GitHub

Return a copy with minPx updated.

px(value)View on GitHub

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