Skip to content

Resolvers don't support caching #41

@victor-paltz

Description

@victor-paltz

In OmeaConf it is possible to cache the resolver results (by default a custom resolver is called on every access).
Caching is required when using random functions to ensure the same value is always returned (ex: for a random search).
This feature is not available in fromconfig.

OmegaConf doc: https://omegaconf.readthedocs.io/en/2.3_branch/custom_resolvers.html
Code to change:

OmegaConf.register_new_resolver(name, resolver)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions