Jace Browning
Jace Browning
Could we add that behavior to `pendulum.instance()`?
After commenting out `[params.about.button]`, I still see a blank button: 
For classes under your control, [Number](https://datafiles.readthedocs.io/en/latest/types/extensions/#numbers) should work instead of `Union[int, float]`. How would you expect serialization to work for disparate types such as `Union[str, bool, float]`?
While it's not full support for `Union` types, https://github.com/jacebrowning/datafiles/pull/272 will handle `Union[str, ...]` (treated as the broader `str` type) and `Union[int, float]` (treated as the broader `float` type).
While it doesn't add support for enforcing the `TypedDict` schema, https://github.com/jacebrowning/datafiles/pull/269 should at least fix the `TypeError` and treat the attribute as a `Dict[str, Any]`, similar to how `Dict` annotations...
I haven't looked into the implementation details of those libraries too much, but my initial thought is that one could explore registering a `marchmallow.Schema` subclass as a custom converter: https://datafiles.readthedocs.io/en/latest/types/custom/#converter-registration...
> I assume that this would only work for nested models but never on the top model. Yeah, I think you're right. Does your example work if you nest it...
There are ways to make this work but it's not well documented. Internally, `datafiles` replaces `/*/` with `/**/` in patterns for searching arbitrary depths with `iglob()`: https://github.com/jacebrowning/datafiles/blob/124ee315edeb14d90eafd6efd7de9fa594984283/datafiles/manager.py#L80-L86 So, if you...
> but adding a /*/ to my pattern didn't work I'd be curious to see more sample code of what you tried and the result. > and then, using the...
Since `create_model` patches the class, I could see how calling it multiple times with the same class could create strange results -- the expectation is that `pattern` defines all possible...