Skip to content

Support mappings as inputs to from_builtins - #427

Merged
jcrist merged 1 commit into
mainfrom
from-builtins-mapping
Jun 4, 2023
Merged

jcrist merged 1 commit into
mainfrom
from-builtins-mapping

Conversation

@jcrist

@jcrist jcrist commented Jun 4, 2023

Copy link
Copy Markdown
Member

This adds support for passing generic mapping objects to from_builtins. These may be coerced to dict, Struct, dataclass, or attrs types.

Fixes #423.

This adds support for passing generic mapping objects to
`from_builtins`. These may be coerced to `dict`, `Struct`, `dataclass`,
or `attrs` types.
@jcrist
jcrist merged commit e50a4c9 into main Jun 4, 2023
@jcrist
jcrist deleted the from-builtins-mapping branch June 4, 2023 21:29
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.

from_builtins, but for dict-like objects (asyncpg.Record)

1 participant