gws.base.action

Source code: gws.base.action

Submodules

Package Contents

class gws.base.action.Config(*args, **kwargs)

Bases: gws.ConfigWithAccess

Basic config with permissions.

class gws.base.action.Object

Bases: gws.Action

Generic action object, the parent of all action objects.

props(user)

Generate a Props struct for this object.

Parameters:

user – The user for which the props should be generated.

class gws.base.action.Props(*args, **kwargs)

Bases: gws.Props

Object properties.

type: str
gws.base.action.prepare_cli_action(root: gws.Root, command_category: gws.CommandCategory, command_name: str, params: dict, read_options=None)