Steven Johnson
Steven Johnson
@mmoskal There is a board config that uses this in my proposed debug led refactor. I didn't put it in this pull request because it has other things in it...
Its really simple code, I haven't tested it since I issued the PR and am not working on this board anymore but assuming it still works, I would be pleased...
Same Here Actually, I would prefer any optional value which is also it's "default" value be skipped. If i have an int whose default is 55, it would be good...
Yes it is easy to skip Null optionals, as i just discovered: ``` my_field: Optional[str] = field( default=None, metadata=config(exclude=ExcludeIfNone) ) ``` exclude takes a function which is passed a single...
I would love it if the exclude function was also passed the fields metadata in addition to its value. Then one could write a "Exclude if Default" which can't be...
I have the same problem, but its because I am using Python 3.8 and my linux box is on 3.7. I was using the -u because that handled the mismatch...
FastAPI returns a Json body that looks like this: ```json { "detail": [ { "loc": [ "path", "item_id" ], "msg": "value is not a valid integer", "type": "type_error.integer" } ]...
You are correct about path parameters not being allowed to be optional in OpenAPI. The difference in our examples is I declared the path as /my/path/:optional_thing. Which isn't clear from...
I am seeing this as well.
Yes, its a pre-built image for OrangePi Zero. I used it on my pi-zero just before I posted it. The lcd-controller is disabled, because its not used as far as...