Skip to content

fix: resolve ty type errors in check tag discrimination - #1

Merged
gcomneno merged 1 commit into
gcomneno:contrib/issue-1154-pydantic-warningfrom
lczyk:issue-1154-pydantic-warning-patch
Jun 3, 2026
Merged

fix: resolve ty type errors in check tag discrimination#1
gcomneno merged 1 commit into
gcomneno:contrib/issue-1154-pydantic-warningfrom
lczyk:issue-1154-pydantic-warning-patch

Conversation

@lczyk

@lczyk lczyk commented Jun 3, 2026

Copy link
Copy Markdown

suggested patch to canonical#1196

narrow check to Mapping before key lookup and build the tag list by
membership instead of set intersection so the return type stays str;
cast the marshalled checks dict in the new test.
@gcomneno
gcomneno merged commit 1d898ec into gcomneno:contrib/issue-1154-pydantic-warning Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants