chore: import upstream snapshot with attribution
CodeQL / Analyze (csharp) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run

This commit is contained in:
wehub-resource-sync
2026-07-13 13:21:23 +08:00
commit b957a53def
5423 changed files with 863745 additions and 0 deletions
@@ -0,0 +1,28 @@
# Copyright (c) Microsoft. All rights reserved.
import importlib
_IMPORTS = {
"GoogleSearch": ".google",
"GoogleSearchSettings": ".google",
"GoogleSearchResult": ".google",
"GoogleSearchResponse": ".google",
"GoogleSearchInformation": ".google",
"BraveSearch": ".brave",
"BraveSettings": ".brave",
"BraveWebPages": ".brave",
"BraveWebPage": ".brave",
"BraveSearchResponse": ".brave",
}
def __getattr__(name: str):
if name in _IMPORTS:
submod_name = _IMPORTS[name]
module = importlib.import_module(submod_name, package=__name__)
return getattr(module, name)
raise AttributeError(f"module {__name__} has no attribute {name}")
def __dir__():
return list(_IMPORTS.keys())