resolve_patch_function
resolve_patch_function(
name: str ,
module: str | None[str, None] = None,
)
Return the patch function a tag names, else say what is missing.
Nothing a document names is imported to answer this: reading a file would otherwise be a way to run whatever it names. The sweep this does reach for imports what the install declares – DASCore’s own deferred modules, and the namespaces plugins register through entry points – which is a fixed set, not one a document chooses.
Parameters
| Parameter | Description |
|---|---|
| name |
The tag, as patch_function_tag spells one.
|
| module |
Where the function was defined when the document was written, if the document says. Used only to say what to import. |