Returns a DocstringDialect instance for the given spec and language. docstring samples used only when spec is “auto”. DocstringDialect` instance for the resolved dialect.

Raises: UdeException: If spec is not “auto” and not a registered dialect key.

Returns:

A `

Methods

get_docstring_dialect

get_docstring_dialect(spec: str, language: str, : *, samples: Raw) -> DocstringDialect

Returns a DocstringDialect instance for the given spec and language. docstring samples used only when spec is “auto”. DocstringDialect` instance for the resolved dialect.

Raises: UdeException: If spec is not “auto” and not a registered dialect key.

Returns:

A `

ParameterTypeDescription
specstrThe dialect selector. One of:
languagestrThe source language token (e.g. “python”, “cpp”).
*
samplesRaw

Generated with Flude

Copyright © 2026