«
module documentation

FiftyOne Server events state.

Copyright 2017-2025, Voxel51, Inc.

Class Listener Undocumented
Function decrement_app_count Undocumented
Function get_app_count Undocumented
Function get_listeners Undocumented
Function get_port Undocumented
Function get_requests Undocumented
Function get_state Get the current state description singleton on the server if it exists. Otherwise, initializes and sets the state description with default values.
Function increment_app_count Undocumented
Function set_port Undocumented
Function set_state Set the current state.
Constant _LISTENERS Undocumented
Constant _REQUESTS Undocumented
Variable _app_count Undocumented
Variable _port Undocumented
Variable _state Undocumented
def decrement_app_count(): (source)

Undocumented

def get_app_count(): (source)

Undocumented

def get_listeners(): (source)

Undocumented

def get_port(): (source)

Undocumented

def get_requests(): (source)

Undocumented

Get the current state description singleton on the server if it exists. Otherwise, initializes and sets the state description with default values.

Returns
fos.StateDescriptionthe fiftyone.core.state.StateDescription server singleton
def increment_app_count(): (source)

Undocumented

def set_port(port: int): (source)

Undocumented

def set_state(state: fos.StateDescription): (source)

Set the current state.

Parameters
state:fos.StateDescriptiona fiftyone.core.state.StateDescription instance

Undocumented

Value
defaultdict(set)

Undocumented

Value
{}
_app_count: int = (source)

Undocumented

Undocumented