genome_spy.Displace1DParams¶
- class genome_spy.Displace1DParams(as_=Undefined, description=Undefined, extent=Undefined, length=Undefined, pos=Undefined, positionFactor=Undefined, type=Undefined, **kwds)View on GitHub¶
Bases:
GenomeSpySchemaGenerated wrapper for
Displace1DParams.Methods
as_(value)Return a copy with
asupdated.copy(*[, deep])Return a copy with optional keyword updates.
description(value)Return a copy with
descriptionupdated.extent([value, expr])Return a copy with a
ExprRefextent.length([value, expr])Return a copy with
lengthupdated.pos(value)Return a copy with
posupdated.positionFactor([value, expr])Return a copy with a
ExprRefpositionFactor.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
typeupdated.validate(instance)Validate an instance against this wrapper's schema.
- as_(value)View on GitHub¶
Return a copy with
asupdated.
- description(value)View on GitHub¶
Return a copy with
descriptionupdated.
- extent(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefextent.- Parameters:
expr (str) – The expression string.
- length(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with
lengthupdated.- Parameters:
expr (str) – The expression string.
- pos(value)View on GitHub¶
Return a copy with
posupdated.
- positionFactor(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefpositionFactor.- Parameters:
expr (str) – The expression string.
- type(value)View on GitHub¶
Return a copy with
typeupdated.
- 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.