RemoteState

Labs

class RemoteState

Description

What a push of a loaded model needs, kept for as long as the model lives.

It holds no reference to the model, so the registry that maps a model to it lets the model be collected. server is the server the model was loaded from; a push without its own session connects to it, with the credentials of the load, which are kept apart from this state, in a private registry of the same module, so that no copy of the state reaches them.

Inheritance:

Members defined in RemoteState (9 members)

Attributes

base: syside.experimental.remote.CommitId | None = None
baseline: dict[syside.experimental.remote.ElementId, syside.experimental.remote.ElementPayload] = None
branch: syside.experimental.remote.BranchId | None = None
last_change_set: syside.experimental.remote.ChangeSet | None = Ellipsis
library_on_server: frozenset[syside.experimental.remote.ElementId] = Ellipsis
library_stubs: bool = Ellipsis
project: syside.experimental.remote.ProjectId = None
server: syside.experimental.remote.ServerUrl | None = None
unsaved_root: syside.experimental.remote.ElementId | None = Ellipsis

Used by