genome_spy.WindowParams¶
- class genome_spy.WindowParams(as_=Undefined, description=Undefined, fields=Undefined, frame=Undefined, groupby=Undefined, ignorePeers=Undefined, ops=Undefined, params=Undefined, sort=Undefined, type=Undefined, **kwds)View on GitHub¶
Bases:
GenomeSpySchemaGenerated wrapper for
WindowParams.Methods
as_(value)Return a copy with
asupdated.copy(*[, deep])Return a copy with optional keyword updates.
description(value)Return a copy with
descriptionupdated.fields(value)Return a copy with
fieldsupdated.frame(value)Return a copy with
frameupdated.groupby(value)Return a copy with
groupbyupdated.ignorePeers(value)Return a copy with
ignorePeersupdated.ops(value)Return a copy with
opsupdated.params(value)Return a copy with
paramsupdated.Return this class schema with referenced properties merged in.
sort([value, field, order])Return a copy with a
CompareParamssort.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.
- fields(value)View on GitHub¶
Return a copy with
fieldsupdated.
- frame(value)View on GitHub¶
Return a copy with
frameupdated.
- groupby(value)View on GitHub¶
Return a copy with
groupbyupdated.
- ignorePeers(value)View on GitHub¶
Return a copy with
ignorePeersupdated.
- ops(value)View on GitHub¶
Return a copy with
opsupdated.
- params(value)View on GitHub¶
Return a copy with
paramsupdated.
- sort(value=Undefined, /, *, field=Undefined, order=Undefined)View on GitHub¶
Return a copy with a
CompareParamssort.- Parameters:
field (Sequence[Field_T] | Field_T) – The field(s) to sort by
order (Sequence[SortOrder_T] | SortOrder_T) – The order(s) to use:
"ascending"(default),"descending".
- 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.