fix(claude-code): suppress typed marketplace assembly warning

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Devin AI 2026-09-16 16:34:26 +00:00
parent bff08db638
commit e90116e42e

View file

@ -160,9 +160,10 @@ async def get_marketplace(request: Request, key: str | None = None):
entry["keywords"] = manifest["keywords"]
if "category" in manifest:
entry["category"] = manifest["category"]
installation_preference: Final[str | None] = _get_manifest_string(manifest, "installation_preference")
if installation_preference is not None:
entry["installationPreference"] = installation_preference
if (installation_preference := _get_manifest_string(manifest, "installation_preference")) is not None:
entry["installationPreference"] = ( # pyright: ignore[reportTypedDictNotRequiredAccess] # assembled incrementally
installation_preference
)
plugin_list.append(entry)