genome_spy.DataFormat¶
- class genome_spy.DataFormat(columns=Undefined, delimiter=Undefined, parse=Undefined, property=Undefined, type=Undefined, **kwds)View on GitHub¶
Bases:
GenomeSpySchemaGenerated wrapper for
DataFormat.Methods
columns(value)Return a copy with
columnsupdated.copy(*[, deep])Return a copy with optional keyword updates.
delimiter(value)Return a copy with
delimiterupdated.parse([value])Return a copy with a
Parseparse.property(value)Return a copy with
propertyupdated.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.
type(value)Return a copy with
typeupdated.validate(instance)Validate an instance against this wrapper's schema.
- columns(value)View on GitHub¶
Return a copy with
columnsupdated.
- delimiter(value)View on GitHub¶
Return a copy with
delimiterupdated.
- parse(value=Undefined, /)View on GitHub¶
Return a copy with a
Parseparse.
- property(value)View on GitHub¶
Return a copy with
propertyupdated.
- 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.