get_unique_config_specs#
- langchain_core.runnables.utils.get_unique_config_specs(specs: Iterable[ConfigurableFieldSpec]) list[ConfigurableFieldSpec] [source]#
Get the unique config specs from a sequence of config specs.
- Parameters:
specs (Iterable[ConfigurableFieldSpec]) – The config specs.
- Returns:
The unique config specs.
- Return type:
List[ConfigurableFieldSpec]
- Raises:
ValueError – If the runnable sequence contains conflicting config specs.