Chad Dombrova

Results 52 issues of Chad Dombrova

Duck-typing relies pretty heavily on hasattr checks, so this difference in behavior could cause problems. e.g.: ``` python from wrapt import ObjectProxy assert hasattr(ObjectProxy(1), '__contains__') == hasattr(1, '__contains__') ``` For...

not an issue, just a feature request. any plans to add support for the 'cdef cppclass' statement? i think it was added in cython 0.13 and allows for easy declaration...

Hi, Do you all have any interest in adding type hints to schematics? I find adding them sort of meditative so I'd be glad to work on it for this...

As a developer I want the ability to avoid generating the list of choices for a type during class definition (which is usually at module scope) as doing so for...

feature
discussion

Related to: #522 I understand the desire to avoid adding `typing` as a requirement, but doing so does open up some powerful options that are not otherwise available: - `Generic`...

enhancement

It would be great to have a succinct summary of how to upgrade code that uses schematics 1.x to be compatible with 2.x (btw, great job on the new docs....

documentation

When `Options.export_order=True`, fields created on sub-classes come after those of parent classes. This makes sense most of the time, except when overriding an existing field, such as to change the...

The expected behavior is that a model behaves the same whether it is used as a `ModelType` or `PolyModelType` or not nested at all. In 1.x defaults were converted to...

Hi, I started converting over some old code to use schematics, and guess what? I have a field named "keys" and it broke some stuff. Specifically this line in `import_loop`:...

Would be great to make use of `dmypy suggest` to add annotations to existing code.

enhancement
help wanted