summaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2025-10-30 12:23:47 +0100
committerMarkus Heiser <markus.heiser@darmarIT.de>2025-11-01 09:46:47 +0100
commitb155e66fe5572e743c745380ace3416783c5963b (patch)
treeec3a1e89b76940a0c3e3b6ec9aa1b5a7fda69802 /.gitattributes
parent5712827703b05e2b0a1319218b697d513e05838f (diff)
[fix] msgspec.Struct: alias name t.ClassVar not properly detected
Reported in [1], HOTFIX in [2], this patch here is now the final solution. Note that if using PEP 563 postponed evaluation of annotations" (e.g. ``from __future__ import annotations``) only the following spellings will work: ClassVar or ClassVar[<type>] typing.ClassVar or typing.ClassVar[<type>] Importing ClassVar or typing under an aliased name (e.g. ``import typing as t``) will not be properly detected. [3] [1] https://github.com/searxng/searxng/issues/5304#issuecomment-3394140820 [2] https://github.com/searxng/searxng/pull/5309 [3] https://jcristharif.com/msgspec/structs.html#class-variables Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions