gws.base.project.action

Project information action.

Source code: gws.base.project.action

Module Contents

class gws.base.project.action.Config

Bases: gws.base.action.Config

Returns the project configuration to the client.

class gws.base.project.action.InfoResponse(*args, **kwargs)

Bases: gws.Response

Response of the projectInfo command.

locale: gws.Locale

Locale for the request.

project: gws.ext.props.project

Project properties for the current user.

user: gws.base.auth.user.Props | None

Current user, or None for a guest.

class gws.base.project.action.Object

Bases: gws.base.action.Object

Project action, provides the project configuration to the client.

info(req: gws.WebRequester, p: gws.Request) → InfoResponse

Return the project properties, the locale and the current user.

class gws.base.project.action.Props

Bases: gws.base.action.Props