filter¶
Canonical path: o6.ns.filter
filter
¶
Return namespace modules matching the supplied metadata.
Every argument is optional and combines as an AND. With no arguments, this returns every registered namespace. Use it to find which release of a URI is loaded when several versions of one model can coexist.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
uri
|
str | None
|
Match this namespace URI exactly. |
None
|
scope
|
str | None
|
Match this registration scope. |
None
|
version
|
str | None
|
Match this model version. |
None
|
Returns:
| Type | Description |
|---|---|
list[NamespaceModule]
|
The matching |
list[NamespaceModule]
|
namespace-index order. |