Stephen Brown II
Stephen Brown II
> Linux may be a no-go with it as it's likely to need a library installed on the client machine because the Gnome project don't believe it should be there...
The thing is, dicts are intended to have python objects in them. All pydantic models do have a [`.json()` function](https://pydantic-docs.helpmanual.io/usage/exporting_models/#modeljson) which will automatically serialize common items into something json-serializable, and...
You can also define a custom type that validates a datetime and returns the string version, something like: ```py In [1]: from datetime import datetime ...: from pydantic import BaseModel...
@brot if what you mean by a Roadmap is "Things that will probably change in Version 2", @samuelcolvin has created a milestone with related issues for v2 here: https://github.com/samuelcolvin/pydantic/milestone/2 There...
Since I raised this question in chat, I'll give my opinion here: Sub-directories and files in directories should be counted, but empty directories (with no files or directories contained), should...
So, given this tree: ``` ./brtest ├──dir-with-one-file │ └──file ├──dir-with-one-subdir │ └──empty-subdir ├──dir-with-subdir-and-file │ ├──file │ └──empty-subdir └──empty-dir ``` `toggle_counts` currently shows: ``` ./brtest 2 ├──dir-with-one-file 1 │ └──file 2...
Hmm, yeah, I believe that should be breaking _or_ converting the types to one of the `PrimitiveType`s (str, int, float, bool), but `typing.cast()` doesn't actually do any casting, it just...
Have the docs been added yet?
Probably not a strong argument, but retries are "built in" to Requests due to it relying on urllib3 for that, so adding it would allow a smoother transition from requests....
I like this idea. Looks like the spacer is actually a blank row with an extra class: `ynab-grid-spacer` ``` ``` so if we can go through and iterate over the...