genome_spy.Key¶
- class genome_spy.Key(value, /, *, description=Undefined, field=Undefined, title=Undefined)View on GitHub¶
Bases:
ChannelGenerated wrapper for the
keyencoding channel.Methods
description(value)Return a channel with
descriptionupdated.field(value)Return a channel with
fieldupdated.sort([value, field, order])Return a channel with a
sortconfiguration.title(value)Return a channel with
titleupdated.to_dict()Return the JSON-serializable channel definition.
Attributes
definitionencoding_name- description(value)View on GitHub¶
Return a channel with
descriptionupdated.
- field(value)View on GitHub¶
Return a channel with
fieldupdated.
- title(value)View on GitHub¶
Return a channel with
titleupdated.
- sort(value=Undefined, /, *, field=Undefined, order=Undefined)View on GitHub¶
Return a channel with a
sortconfiguration.
- to_dict()View on GitHub¶
Return the JSON-serializable channel definition.