Skip to main content
def ProjectContext.genesis(self, theme=None, kind=‘v’, **kwargs) [source]
Initializes the gateway layer parameters. In the UI mode, this launches the ProjectGenesis web panel to handle initial data loading or model selection. In script mode, it simply captures the provided kwargs for later use.

Parameters

theme : str
Custom theme name for the UI. Defaults to self.theme.
kind : (v, h)
Layout orientation for the gateway: ‘v’ for vertical, ‘h’ for horizontal.
**kwargs : dict
Configuration arguments passed in a script mode.