Tree: Format
Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
cad72315f4
commit
c9b4b7c509
2 changed files with 2 additions and 7 deletions
|
|
@ -12,7 +12,7 @@ class SamplerOverrideSwitchRequest(BaseModel):
|
|||
overrides: Optional[dict] = Field(
|
||||
default=None,
|
||||
description=(
|
||||
"Sampling override parent takes in individual keys and overrides."
|
||||
"Sampling override parent takes in individual keys and overrides. "
|
||||
+ "Ignored if preset is provided."
|
||||
),
|
||||
examples=[
|
||||
|
|
|
|||
|
|
@ -58,12 +58,7 @@ def _log_formatter(record: dict) -> str:
|
|||
|
||||
fmt = ""
|
||||
if len(lines) > 1:
|
||||
fmt = "\n".join(
|
||||
[
|
||||
f"{colored_level}{separator}{line}"
|
||||
for line in lines
|
||||
]
|
||||
)
|
||||
fmt = "\n".join([f"{colored_level}{separator}{line}" for line in lines])
|
||||
else:
|
||||
fmt = f"{colored_level}{separator}{message}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue