genome_spy.Key

class genome_spy.Key(value, /, *, description=Undefined, field=Undefined, title=Undefined)View on GitHub

Bases: Channel

Generated wrapper for the key encoding channel.

Methods

description(value)

Return a channel with description updated.

field(value)

Return a channel with field updated.

sort([value, field, order])

Return a channel with a sort configuration.

title(value)

Return a channel with title updated.

to_dict()

Return the JSON-serializable channel definition.

Attributes

definition

encoding_name

description(value)View on GitHub

Return a channel with description updated.

field(value)View on GitHub

Return a channel with field updated.

title(value)View on GitHub

Return a channel with title updated.

sort(value=Undefined, /, *, field=Undefined, order=Undefined)View on GitHub

Return a channel with a sort configuration.

to_dict()View on GitHub

Return the JSON-serializable channel definition.