nv_dfm_core.api.WriteToCache#
- class nv_dfm_core.api.WriteToCache(*, dfm_node_id=<factory>, dfm_after=None, dfm_class_name='nv_dfm_core.api._WriteToCache', key, value)[source]#
Writes a value to the cache. This should not be used directly, but only via the TryFromCache.cache method.
- Parameters:
- model_config: ConfigDict = {'extra': 'forbid', 'frozen': True}#
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].