Skip to content

Allow callable defaults and verify serializability#181

Open
yuval-p wants to merge 1 commit intofuhrysteve:masterfrom
yuval-p:support-callable-default
Open

Allow callable defaults and verify serializability#181
yuval-p wants to merge 1 commit intofuhrysteve:masterfrom
yuval-p:support-callable-default

Conversation

@yuval-p
Copy link

@yuval-p yuval-p commented Nov 7, 2023

checking if the default value is callable is not sufficient, as one can provide a default value that is not callable nor serializable, uuid.uuid4() for example.

this change enables providing callable as a default value and also verifies that the value is serializable

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