gws.plugin.qgis.project
¶
Qgis Project API.
Source code: gws.plugin.qgis.project
Module Contents¶
- class gws.plugin.qgis.project.Object(text: str)¶
- sourceHash: str¶
- version: str¶
- caps() gws.plugin.qgis.caps.Caps ¶
- to_path(path: str)¶
- to_xml()¶
- xml_root() gws.XmlElement ¶
- class gws.plugin.qgis.project.Store(*args, **kwargs)¶
Bases:
gws.Data
Basic data object.
This object can be instantiated by passing one or or
dict
arguments and/or keyword args. All dicts keys and keywords become attributes of the object.Accessing an undefined attribute returns
None
and no error is raised, unless the attribute name starts with an underscore.- dbUid: str¶
- path: gws.FilePath¶
- projectName: str¶
- schema: str¶
- class gws.plugin.qgis.project.StoreType¶
Bases:
gws.Enum
Enumeration type.
Despite being declared as extending
Enum
(for IDE support), this class is actually just a simple object and intended to be used as a collection of attributes. It doesn’t provide anyEnum
-specific utilities.The rationale behind this is that we need
Enum
members (e.g.Color.RED
) to be scalars, and not complex objects as in the standardEnum
.- file = 'file'¶
- postgres = 'postgres'¶