Remove need for explicit \n in docstring lists for --help formatting (#38350)
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -37,10 +37,12 @@ ConfigT = TypeVar("ConfigT", bound=DataclassInstance)
|
||||
|
||||
|
||||
@overload
|
||||
@dataclass_transform(field_specifiers=(PydanticField,))
|
||||
def config(cls: type[ConfigT]) -> type[ConfigT]: ...
|
||||
|
||||
|
||||
@overload
|
||||
@dataclass_transform(field_specifiers=(PydanticField,))
|
||||
def config(
|
||||
*, config: ConfigDict | None = None, **kwargs: Any
|
||||
) -> Callable[[type[ConfigT]], type[ConfigT]]: ...
|
||||
|
||||
Reference in New Issue
Block a user