papercrane

Results 14 issues of papercrane

When sending a webhook request to SAMMI from a client that implements the "Expect: 100-Continue" header, SAMMI does not send back a "100 Continue" or "417 Expectation Failed", causing some...

Fixes #699. The values of an Enum are unstructured and structured. Structuring is only done when the Enum class has a type defined for the `_value_` attribute as per [the...

I'm running into an interesting issue where the value of an enum is a structured value which isn't being properly unstructured and that's causing issues with serialization. Here's a simple...

enums

Trivial example: ``` import cattrs import enum import cattr.preconf.json c = cattr.preconf.json.make_converter() class TE(enum.Enum): A = 1 class TE2(enum.Enum): C = TE.A print(repr(c.unstructure(TE2.C))) ``` Outputs: ``` ``` Should output: ```...