genome_spy.DynamicCallbackData¶
- class genome_spy.DynamicCallbackData(description=Undefined, dynamicCallbackSource=Undefined, format=Undefined, name=Undefined, **kwds)View on GitHub¶
Bases:
GenomeSpySchemaGenerated wrapper for
DynamicCallbackData.Methods
copy(*[, deep])Return a copy with optional keyword updates.
description(value)Return a copy with
descriptionupdated.dynamicCallbackSource(value)Return a copy with
dynamicCallbackSourceupdated.format([value, columns, delimiter, parse, ...])Return a copy with
formatupdated.name(value)Return a copy with
nameupdated.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.
validate(instance)Validate an instance against this wrapper's schema.
- description(value)View on GitHub¶
Return a copy with
descriptionupdated.
- dynamicCallbackSource(value)View on GitHub¶
Return a copy with
dynamicCallbackSourceupdated.
- format(value=Undefined, /, *, columns=Undefined, delimiter=Undefined, parse=Undefined, property=Undefined, type=Undefined)View on GitHub¶
Return a copy with
formatupdated.- Parameters:
columns (Sequence[str]) – Schema-defined
columnsproperty.delimiter (str) – The delimiter between records. The delimiter must be a single character (i.e., a single 16-bit code unit); so, ASCII delimiters are fine, but emoji delimiters are not.
parse (Parse | ParseKwds | None) – Schema-defined
parseproperty.property (str) – The JSON property containing the desired data. This parameter can be used when the loaded JSON file may have surrounding structure or meta-data. For example
"property": "values.features"is equivalent to retrievingjson.values.featuresfrom the loaded JSON object.type (Literal['csv', 'tsv'] | Literal['dsv'] | Literal['json'] | Literal['bed'] | Literal['bedpe'] | Literal['wig'] | Literal['vcf'] | str) – Schema-defined
typeproperty.
- name(value)View on GitHub¶
Return a copy with
nameupdated.
- 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.