Jared Deckard

Results 193 comments of Jared Deckard

This seems like it would be consistent with the other field validation error messages since the `dump_only` option can be declared when creating a field instance. We may also want...

@cywolf `unknown` defaults to `RAISE`. Since this field is not allowed to be loaded, it raises an error if it is provided. The "unknown" message is an artifact of the...

https://github.com/marshmallow-code/marshmallow/commit/278ff691f2e4de0bba6368ca05ccd4ba3dd92abe#diff-c9a9d6773bfb8f6a209256e8f1dc00db3eca97be188d9541607f55ca4f9744d1R248 https://github.com/marshmallow-code/marshmallow/commit/5a933dc882e21af5e94a50bb99f62261cc8566a0#diff-0cddc4aac0e4e16946830a5807c264d65b7f14a2a1b1cb23b03028a36df3681aR156 The type annotations did not match the docs when they were added. I suspect we want to use the same type signature that `ValidationError` accepts for the `message`...

I expected `apispec` to "just work", but I ended up with docs representing a simplified marshmallow schema definition instead of docs matching the serialized jsonapi-structured data. It seems like implementing...

I was able to satisfy this use case using the `@post_dump` decorator. ```py @post_dump(pass_original=True) def filter_links(self, data, car): if car.running: del data['_links']['start'] else: del data['_links']['stop'] ``` The `pass_original` option is...

`load_instance` only queries for existing objects using the primary key. Even if you overloaded `ToDoTaskSchema.get_instance()` to query on the name, the schema doesn't appear to handle copying the nested `task.id`...

I suspect that it is an issue with the javascript on your pages and not the varnish cache. Navigating to cached pages replaces the body of the DOM, but leaves...

I am fairly confident it is the javascript now. That first site has an order of magnitude more javascript. When I load it without ad blocker turned on my laptop...

How are you generating the page hashes?

Without a list of hashes it shouldn't do anything. That makes me think the increased load you saw was caused by the peer connection events triggering analytics requests.