genome_spy.UrlSourceRef¶
- class genome_spy.UrlSourceRef(attach=Undefined, expr=Undefined, field=Undefined, maxValues=Undefined, onLoadError=Undefined, template=Undefined, type=Undefined, urlsFromFile=Undefined, values=Undefined, **kwds)View on GitHub¶
Bases:
GenomeSpySchemaGenerated wrapper for
UrlSourceRef.Methods
attach(value)Return a copy with
attachupdated.copy(*[, deep])Return a copy with optional keyword updates.
expr(value)Return a copy with
exprupdated.field(value)Return a copy with
fieldupdated.maxValues(value)Return a copy with
maxValuesupdated.onLoadError(value)Return a copy with
onLoadErrorupdated.Return this class schema with referenced properties merged in.
template(value)Return a copy with
templateupdated.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.urlsFromFile(value)Return a copy with
urlsFromFileupdated.validate(instance)Validate an instance against this wrapper's schema.
values([value, expr])Return a copy with a
ExprRefvalues.- attach(value)View on GitHub¶
Return a copy with
attachupdated.
- expr(value)View on GitHub¶
Return a copy with
exprupdated.
- field(value)View on GitHub¶
Return a copy with
fieldupdated.
- maxValues(value)View on GitHub¶
Return a copy with
maxValuesupdated.
- onLoadError(value)View on GitHub¶
Return a copy with
onLoadErrorupdated.
- template(value)View on GitHub¶
Return a copy with
templateupdated.
- type(value)View on GitHub¶
Return a copy with
typeupdated.
- urlsFromFile(value)View on GitHub¶
Return a copy with
urlsFromFileupdated.
- values(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefvalues.- Parameters:
expr (str) – The expression string.
- 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.