FAQ | This is a LIVE service | Changelog

Verified Commit 08f97beb authored by Hal Blackburn's avatar Hal Blackburn
Browse files

feat: add contextual_default_factory()

This function creates default_factory functions that source values from
`ContextVar`s. Pydantic models and dataclasses can use these default
factory functions to automatically set properties from their
environment.
parent a93ffce7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment