eonu / feud

Build powerful CLIs with simple idiomatic Python, driven by type hints. Not all arguments are bad.
https://feud.readthedocs.io
MIT License
57 stars 2 forks source link

Set `arbitrary_types_allowed=True` in `pydantic_kwargs` by default #155

Closed eonu closed 1 month ago

eonu commented 1 month ago

Does this suggestion already exist?

Feature description

It's likely that feud.run may be ran on a function with a non-Pydantic compatible type, so arbitrary types should be allowed by default.

https://github.com/eonu/feud/blob/4ac82d26e66e2f3a55321f755177583373b0cb72/feud/config.py#L43-L45