genome_spy.SecondaryOffsetDef

class genome_spy.SecondaryOffsetDef(band=Undefined, datum=Undefined, description=Undefined, domainInert=Undefined, expr=Undefined, field=Undefined, title=Undefined, type=Undefined, value=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for SecondaryOffsetDef.

Methods

band(value)

Return a copy with band updated.

copy(*[, deep])

Return a copy with optional keyword updates.

datum([value, expr])

Return a copy with datum updated.

description(value)

Return a copy with description updated.

domainInert(value)

Return a copy with domainInert updated.

expr(value)

Return a copy with expr updated.

field(value)

Return a copy with field updated.

resolve_references()

Return this class schema with referenced properties merged in.

title(value)

Return a copy with title updated.

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.

value([value, expr])

Return a copy with a ExprRef value.

band(value)View on GitHub

Return a copy with band updated.

datum(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with datum updated.

Parameters:

expr (str) – The expression string.

description(value)View on GitHub

Return a copy with description updated.

domainInert(value)View on GitHub

Return a copy with domainInert updated.

expr(value)View on GitHub

Return a copy with expr updated.

field(value)View on GitHub

Return a copy with field updated.

title(value)View on GitHub

Return a copy with title updated.

type(value)View on GitHub

Return a copy with type updated.

value(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef value.

Parameters:

expr (str) – The expression string.

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.