Toby Fleming

Results 17 comments of Toby Fleming

I had a similar use-case; I wanted to add a timeout to the request. Based on [RefResolver.resolve_remote](https://github.com/Julian/jsonschema/blob/a12ebfc56712aa35e6cd059e29334fc0b25dc78a/jsonschema/validators.py#L788-L797), I replaced all calls to `Draft7Validator` with a factory method that created a...

Fair enough, was hoping one of those approaches helps, but guess it's a niche use-case. My understanding is JSON specifies objects are unordered. Anyway, I'll add my thoughts to python-jsonschema/referencing#4...

I believe this is now available in some regions, for example: https://schema.cloudformation.us-east-1.amazonaws.com/aws.common.types.v1.json

we have to be mindful of not inserting ourselves into native build processes too much, to preserve the developer experience, so i'm not sure "build" make sense, especially outside a...

I can definitely see a use-case for this. Unfortunately, our UX relies a bit too heavily on the assumption that there's only one resource at the moment, so this would...

Example from EC2 in the deeplink package: ```javascript image({ region }) { return `/ec2/v2/home?region=${region}#Images:sort=name` }, instance({ region, resource }) { return `/ec2/home?region=${region}#Instances:instanceId=${resource}`; }, ```

Proposal for adding this to a schema: ``` { [...] "deeplink": { "mapping": { "instanceId": "#/InstanceId" }, "template": "https://{region}.console.aws.amazon.com/ec2/v2/home?region={region}#Instances:instanceId=${instanceId}" } } ``` where `mapping` maps a simple key to a...

Please see RPDK [resource_generator.py](https://github.com/aws-cloudformation/aws-cloudformation-rpdk/blob/master/src/rpdk/core/contract/resource_generator.py) ([permalink](https://github.com/aws-cloudformation/aws-cloudformation-rpdk/blob/bf7c1b05090e69647defe273cc6f865170b65a12/src/rpdk/core/contract/resource_generator.py)) for additional semantic validations that should be implemented: * strings: using `format` and `pattern` together may be nonsensical * integer/number: using `minimum` and `exclusiveMinimum` together...

I also got this. Due to how `make_graph` currently works, the package is being included in the dependencies, and therefore has to be on PyPI. This is somewhat incorrect, since...

Depending on what Python type the output should be, it shouldn't be too hard. `str` or `bytes`? How do I test/trigger a paste with a file URL?