:tocdepth: 3 :py:mod:`gws.base.application` ============================== .. py:module:: gws.base.application .. autoapi-nested-parse:: Application object. **Source code:** :source:`gws.base.application` Submodules ---------- .. toctree:: :titlesonly: :maxdepth: 1 core/index.rst middleware/index.rst Package Contents ---------------- .. py:class:: Config(*args, **kwargs) Bases: :py:obj:`gws.ConfigWithAccess` Main application configuration .. py:attribute:: actions :type: Optional[list[gws.ext.config.action]] System-wide server actions. .. py:attribute:: auth :type: Optional[gws.base.auth.manager.Config] Authorization methods and options. .. py:attribute:: cache :type: Optional[gws.gis.cache.Config] Global cache configuration. .. py:attribute:: client :type: Optional[gws.base.client.Config] Gws client configuration. .. py:attribute:: database :type: Optional[gws.base.database.manager.Config] Database configuration. .. py:attribute:: developer :type: Optional[dict] Developer options. .. py:attribute:: finders :type: Optional[list[gws.ext.config.finder]] Global search providers. .. py:attribute:: fonts :type: Optional[gws.lib.font.Config] Fonts configuration. .. py:attribute:: helpers :type: Optional[list[gws.ext.config.helper]] Helpers configurations. .. py:attribute:: locales :type: Optional[list[str]] Default locales for all projects. .. py:attribute:: metadata :type: Optional[gws.Metadata] Application metadata. .. py:attribute:: models :type: Optional[list[gws.ext.config.model]] Global data models. .. py:attribute:: owsServices :type: Optional[list[gws.ext.config.owsService]] OWS services configuration. .. py:attribute:: plugins :type: Optional[list[dict]] Configuration for plugins. .. py:attribute:: printers :type: Optional[list[gws.ext.config.printer]] Print configurations. .. py:attribute:: projectDirs :type: Optional[list[gws.DirPath]] Directories with additional projects. .. py:attribute:: projectPaths :type: Optional[list[gws.FilePath]] Additional project paths. .. py:attribute:: projects :type: Optional[list[gws.ext.config.project]] Project configurations. .. py:attribute:: server :type: Optional[gws.server.Config] Server engine options. .. py:attribute:: storage :type: Optional[gws.base.storage.manager.Config] Database configuration. .. py:attribute:: templates :type: Optional[list[gws.ext.config.template]] Default templates. .. py:attribute:: web :type: Optional[gws.base.web.manager.Config] Web server options. .. py:class:: Object Bases: :py:obj:`gws.Application` Main Application object .. py:attribute:: mpxConfig :value: '' .. py:attribute:: mpxUrl :value: '' .. py:method:: configure() Configuration hook. .. py:method:: developer_option(key) Get a value of a developer option. .. py:method:: helper(ext_type) Get a Helper object by its extension type. .. py:method:: post_configure() Post-configuration hook. .. py:method:: project(uid) Get a Project object by its uid.