Skip to main content

ResolvedDynamicValue

The resolved form of a DynamicValue containing the actual providers produced by a dynamic action.

ResolvedDynamicValue is automatically created when a DynamicValue is passed to a dynamic action's implementation function via dynattrs.dynamic_value(). It provides access to the providers that were produced by the originating dynamic action through its providers attribute.

See DynamicValue for more information


## ResolvedDynamicValue.providers

<pre class="language-python"><code>ResolvedDynamicValue.providers: <Link to="/docs/api/build/ProviderCollection">ProviderCollection</Link></code></pre>

Get providers from the resolved dynamic value.

# Example

```python
def _impl(actions: AnalysisActions, v: ResolvedDynamicValue, out: OutputArtifact):
# Access providers
default_info = v.providers[DefaultInfo]
custom_info = v.providers[MyInfo]