ModuleNamePattern

attribute.ModuleNamePattern(self, module, id)

A name with a module and attribute ID that allows wildcards (*). Mostly this is useful to provide parameters to GPMs, which don’t have a concept of which strata they belong to. A ModuleNamePattern can be transformed into a full NamePattern by adding the strata.

Methods

Name Description
parse Parse a pattern from a ::-delimited string. As a shorthand, you can omit a preceding wildcard segment and it will be automatically filled in, e.g.,“a” will become “*::a”.
to_absolute Creates a full name pattern by providing the strata.