fix(ci): ruff format wingback modules and garden logo test

- Apply ruff format to Wingback guardrail Python modules
- Add wingback.png to EXPECTED_PARTNER_LOGO_FILES in garden test
This commit is contained in:
bsk-wb 2026-08-29 00:02:14 +05:30 • committed by bharatkallurs
parent 8763574221
commit cf0ec2fb30
3 changed files with 3 additions and 8 deletions

View file

@ -34,11 +34,7 @@ class WingbackGuardrail(GenericGuardrailAPI):
wingback_app_id: str | None = None,
**kwargs,
):
resolved_api_base: Final = (
api_base
or os.environ.get("WINGBACK_API_BASE")
or DEFAULT_WINGBACK_API_BASE
)
resolved_api_base: Final = api_base or os.environ.get("WINGBACK_API_BASE") or DEFAULT_WINGBACK_API_BASE
resolved_api_key: Final = api_key or os.environ.get("WINGBACK_INTEGRATION_API_KEY")
existing_params = kwargs.pop("additional_provider_specific_params", None) or {}

View file

@ -40,9 +40,7 @@ class WingbackGuardrailConfigModel(GuardrailConfigModel):
)
fail_on_error: bool | None = Field(
default=True,
description=(
"If False, allow requests when the guardrail returns an error other than an explicit block."
),
description=("If False, allow requests when the guardrail returns an error other than an explicit block."),
)
@staticmethod

View file

@ -27,6 +27,7 @@ const EXPECTED_PARTNER_LOGO_FILES: Record<string, string> = {
deepkeep: "deepkeep.svg",
repelloai: "repelloai.png",
straiker: "straiker.svg",
wingback: "wingback.png",
};
describe("guardrail_garden_data logos", () => {