genome_spy.Paddings¶
- class genome_spy.Paddings(bottom=Undefined, left=Undefined, right=Undefined, top=Undefined, **kwds)View on GitHub¶
Bases:
GenomeSpySchemaGenerated wrapper for
Paddings.Methods
bottom(value)Return a copy with
bottomupdated.copy(*[, deep])Return a copy with optional keyword updates.
left(value)Return a copy with
leftupdated.Return this class schema with referenced properties merged in.
right(value)Return a copy with
rightupdated.to_dict(*[, validate])Serialize this schema wrapper to a JSON-compatible dictionary.
to_json(*[, validate])Serialize this schema wrapper to formatted JSON.
top(value)Return a copy with
topupdated.validate(instance)Validate an instance against this wrapper's schema.
- bottom(value)View on GitHub¶
Return a copy with
bottomupdated.
- left(value)View on GitHub¶
Return a copy with
leftupdated.
- right(value)View on GitHub¶
Return a copy with
rightupdated.
- top(value)View on GitHub¶
Return a copy with
topupdated.
- 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.