Ben Steadman

Results 10 issues of Ben Steadman

The type annotation for `Schema.from_dict` specifies the `fields` parameter is of type `Dict[str, Union[ma_fields.Field, type]]`: https://github.com/marshmallow-code/marshmallow/blob/c972d6c27fd6a2daeb4764f3f83e542fdc9d704d/src/marshmallow/schema.py#L422 I understand that this is because one can either pass `ma_fields.Field` instances *or* a...

typing

Issue #598 Implements a new `dot_escape` kwarg to `fields.Raw` to support '.' characters within a field name *without* using as a nesting separator. Current behaviour: ```python >>> data = {"my.dot.field":...

For quite some time there have been significant issues around data models, request parsing and response marshalling in `flask-restx` (carried over from `flask-restplus`). The most obvious of which is the...

enhancement
question
maintainers

The [SCHEMA message specification](https://github.com/singer-io/getting-started/blob/master/docs/SPEC.md#schema-message) states that each message should be a valid JSON Schema. However, as far as I can tell, it is not documented which version of the JSON...

Closes #117 Using a `type` of `number` and a `format` of `integer` is not documented in the [JSON schema specification]( https://json-schema.org/understanding-json-schema/reference/numeric.html?highlight=integer#integer) as a correct way to represent integers. Instead, a...

`fields.Integer` should produce a JSON schema with `"type": "integer"` as per https://json-schema.org/understanding-json-schema/reference/numeric.html?highlight=integer#integer . However, a schema with `"type": "number", "format": "integer"` is produced. The `number` docs do not mention `integer`...

Float values with zero as the fractional component e.g. `'0.0'`, `'0.1'`, `'1.00'` are detected as `int` instead of `float`. This is because they *can* be parsed as `int` according to...

enhancement
help wanted

https://github.com/python-restx/flask-restx/pull/14#issuecomment-575570447 A general solution to configuring Swagger UI JavaScript options will eliminate the need for adding in one off Flask config options whenevr a user requests them. TODO: Further details...

enhancement

### Issue Summary Keen provides an `include_metadata=true` query parameter to return execution metadata for ad-hoc queries ([docs](https://keen.io/docs/api/#execution-metadata)) which is not currently supported. This would be useful to have as an...

Safe operations for `vips_pdfload`/`vips_pdfload_buffer`/`vips_pdfload_source` (and the `_with_opts` counterparts) would be useful. The unsafe bindings are currently available, but it looks like the safe wrappers have not been generated. Were these...