Software to automate the management and configuration of any infrastructure or application at scale. Get access to the Salt software package repository here:
It is useful in some cases to return NamedLoaderContexts from loaded functions. Instead of choking or requiring implementers to call the context's value() method before being de-scoped, detect when a NamedLoaderContext has been returned and return the value from the current context.
What issues does this PR fix or reference?
Fixes: #65251
Merge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.
It is useful in some cases to return NamedLoaderContexts from loaded functions. Instead of choking or requiring implementers to call the context's value() method before being de-scoped, detect when a NamedLoaderContext has been returned and return the value from the current context.
What issues does this PR fix or reference?
Fixes: #65251
Merge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.