gws.base.action.core¶
Base action object.
Source code: gws.base.action.core
Module Contents¶
- class gws.base.action.core.Config(*args, **kwargs)¶
Bases:
gws.ConfigWithAccessBasic config with permissions.
- class gws.base.action.core.Object¶
Bases:
gws.ActionBase action object, the parent of all action objects.
An action groups server commands, which subclasses implement as methods decorated with
gws.ext.command.*. The base class provides the action props, which contain only the action type.- props(user)¶
Generate a
Propsstruct for this object.Do not call this method directly, use
gws.props_ofinstead, which also checks permissions.- Parameters:
user – The user for which the props should be generated.
- Returns:
A
Propsobject or a dict. Nested objects are converted to props as well.