A5rocks

Results 393 comments of A5rocks

Yeah this uses a regex to say the number is any sequence of digits. I would use `\d` but that's not in the restricted subset of regex JSON schema recommends...

How about using `maxProperties` then? IIRC you can only send the `payload_json` key for the form body (... maybe I'm misremembering?) so just set the max number of properties to...

I checked, you're correct. Maybe there should be an `oneOf` where one branch allows only these fixed names and no `payload_json`, and the other branch allows any file numbers and...

That's not in OpenAPI 3.1 though? And can't the descriminator just be calculated by the thing going from specification -> deserialization code?

Yeah in #2928 I could make things work via `gevent.monkey.get_original` but I don't think that's really the right behavior. That will make `trio.run` block, I think. Not entirely sure what...

@codebanesr does this still fail? That PR was merged a while ago but I forgot to check back here.

There's one more scary-compatibility thing (https://github.com/python-trio/trio/pull/2886) that's probably better being done before v1. (yes this has been deprecated for a while, but so was `MultiError`!) I don't have any comments...

For what it's worth I think the reply was specifically about speculatively pinning deps as a library. Not so much saying semver is bad for a library maintainer (if that's...

If by releasing continuously you mean releasing every commit to main (like hypothesis), I believe the idea is that we want to accept PRs that potentially aren't complete. (e.g. newcomer...

For the record, not all `await` calls are checkpoints (though every `trio` function does guarantee a checkpoint call, so that's irrelevant here). I think the waiting itself will be cancellable,...