gws.base.project

Source code: gws.base.project

Submodules

Package Contents

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

Bases: gws.ConfigWithAccess

Project configuration

actions: list[gws.ext.config.action] | None

project-specific actions

assets: gws.base.web.site.WebDocumentRootConfig | None

project-specific assets options

client: gws.base.client.Config | None

project-specific gws client configuration

finders: list[gws.ext.config.finder] | None

search providers

locales: list[str] | None

project locales

map: gws.base.map.Config | None

Map configuration

metadata: gws.Metadata | None

project metadata

models: list[gws.ext.config.model] | None

data models

overviewMap: gws.base.map.Config | None

Overview map configuration

owsServices: list[gws.ext.config.owsService] | None

OWS services configuration

printers: list[gws.base.printer.Config] | None

print configurations

templates: list[gws.ext.config.template] | None

project info templates

title: str = ''

project title

type: str = 'default'
class gws.base.project.Object

Bases: gws.Project

Project object.

overviewMap: gws.base.map.Object
title: str
configure()

Configuration hook.

props(user)

Generate a Props struct for this object.

Parameters:

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

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

Bases: gws.Props

Object properties.

actions: list[gws.ext.props.action]
client: gws.base.client.Props | None
description: str
locales: list[str]
map: gws.ext.props.map
metadata: gws.lib.metadata.Props
models: list[gws.ext.props.model]
overviewMap: gws.ext.props.map
printers: list[gws.base.printer.Props]
title: str
uid: str