vibesketcher.document.drafts¶
Provider-neutral, bounded scene review. A proposal never supplies trusted metadata.
Functions
|
|
|
|
|
|
|
Prepare an inspectable draft in a killable worker, without editing source. |
|
Worker implementation: derive, compare and render independently of live state. |
Classes
Exceptions
The review or transaction no longer names the current source. |
|
The entire proposal was refused without changing its source. |
- exception vibesketcher.document.drafts.DraftRefused[source]¶
Bases:
ValueErrorThe entire proposal was refused without changing its source.
- exception vibesketcher.document.drafts.DraftConflict[source]¶
Bases:
DraftRefusedThe review or transaction no longer names the current source.
- class vibesketcher.document.drafts.Scope(*, whole_drawing=False, nodes=<factory>, root_slots=<factory>, species=<factory>, reactions=<factory>)[source]¶
Bases:
BaseModel- Parameters:
- model_config = {'extra': 'forbid', 'strict': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class vibesketcher.document.drafts.Proposal(*, canvas, scope, notes='')[source]¶
Bases:
BaseModel- model_config = {'extra': 'forbid', 'strict': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- vibesketcher.document.drafts.bounded(document)[source]¶
- Parameters:
document (Document)
- Return type:
None
- vibesketcher.document.drafts.prepare_inside(source, proposal)[source]¶
Worker implementation: derive, compare and render independently of live state.