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 `
| Parameter | Type | Description |
|---|---|---|
| spec | str | The dialect selector. One of: |
| language | str | The source language token (e.g. “python”, “cpp”). |
* | ||
| samples | Raw |
Generated with Flude
Copyright © 2026