Kyle Altendorf

Results 572 comments of Kyle Altendorf

- [ ] I'll start by writing it here, but presumably some form of this belongs in the docs. > I need a clearer presentation of the relational properties of...

There we go, this works. Needed the `/` after the `^`. ```toml [tool.black] include = '(\.pyi?|^/pycli)$' ```

If `pycli` isn't renamed then below should be updated as well. Or, maybe it can just go away? The referenced ticket didn't immediately seem to be about black ignoring it's...

Do dataclasses share the opinion that the `None` default changes the typehint to be optional? Or does mypy? attrs has an issue discussing the other way with an optional type...

I see two questions. In no particular order... One question is 'should a default that doesn't fit the type hint be allowed'. I tend towards 'no' or maybe 'desert should...

Optional in a callable's signature means 'there is a default and you aren't required to pass this' while optional in typing means 'can also be None'. So they are two...

If you want to distinguish between `None` and... nothing... then yes, you'll need to create a thing to represent nothing. This is not uncommon for situations such as attrs and...

All I've got at the moment for a workaround to add post-dump is to generate the schema, add a post-dump to it by either inheritance or assignment, then manually specify...

To get it on the record and out of my tab list... https://github.com/OAI/OpenAPI-Specification/issues/57#issuecomment-56224153