GeoEco.Metadata.AddClassMetadata
- GeoEco.Metadata.AddClassMetadata(cls, shortDescription, longDescription=None, module=None)
Creates a
ClassMetadatafor a class and adds it to aModuleMetadata.- Parameters:
cls (
typeorstr) – The class itself, or the unqualified name of the class (without module or package names).shortDescription (
str) – One-line description of the class, ideally as plain text (but reStructuredText is OK).longDescription (
str, optional) – Detailed description of the class, formatted as reStructuredText.module (
ModuleTypeorstr, optional) – The module that contains the class, either as the module object itself or the fully qualified name of the module (a.k.a. dotted module name). If not provided, the caller’s module is used.
Note
Before calling this function, use
AddModuleMetadata()to create theModuleMetadataand attach it to the module.