genome_spy.Step¶
- class genome_spy.Step(for_=Undefined, step=Undefined, **kwds)View on GitHub¶
Bases:
GenomeSpySchemaGenerated wrapper for
Step.Methods
copy(*[, deep])Return a copy with optional keyword updates.
for_(value)Return a copy with
forupdated.Return this class schema with referenced properties merged in.
step([value, expr])Return a copy with a
ExprRefstep.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.
- for_(value)View on GitHub¶
Return a copy with
forupdated.
- step(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefstep.- 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.