Revert "black"

This reverts commit 21d76ad689.
This commit is contained in:
hjoaquim
2024-01-29 14:22:25 +00:00
parent 0904653fd7
commit 321e01f60e
24 changed files with 93 additions and 91 deletions

View File

@@ -27,9 +27,9 @@ class Preferences(BaseModel):
field_order: bool = (
False # Whether to display the field order by which the data was defined
)
output_type: Literal[
"OBBject", "dataframe", "polars", "numpy", "dict", "chart"
] = Field(default="OBBject", description="Python default output type.")
output_type: Literal["OBBject", "dataframe", "polars", "numpy", "dict", "chart"] = (
Field(default="OBBject", description="Python default output type.")
)
model_config = ConfigDict(validate_assignment=True)

View File

@@ -284,9 +284,9 @@ class Router:
if deprecation_message:
kwargs["summary"] = deprecation_message
else:
kwargs[
"summary"
] = "This functionality will be deprecated in the future releases."
kwargs["summary"] = (
"This functionality will be deprecated in the future releases."
)
api_router.add_api_route(**kwargs)

View File

@@ -16,11 +16,11 @@ class EUYieldCurveQueryParams(QueryParams):
date: Optional[dateType] = Field(
default=None, description=QUERY_DESCRIPTIONS.get("date", "")
)
yield_curve_type: Literal[
"spot_rate", "instantaneous_forward", "par_yield"
] = Field(
default="spot_rate",
description="The yield curve type.",
yield_curve_type: Literal["spot_rate", "instantaneous_forward", "par_yield"] = (
Field(
default="spot_rate",
description="The yield curve type.",
)
)