James Hilton-Balfe

Results 57 issues of James Hilton-Balfe

I'd expect poetry hooks to support sequences as task lists for commands like pre_build etc. Currently passing a sequence of tasks raises an error: ```py % poetry build 'Array' object...

enhancement

**Is your feature request related to a problem? Please describe.** Currently accessing a member of an Enum from an Enum while supported is deprecated. **Describe the solution you'd like** Stop...

enhancement

### Bug Description The [conversion table](https://pyo3.rs/v0.15.1/conversions/tables.html#argument-types) for PyMapping suggests anything that is a typing.Mapping should be able to be converted to PyMapping, this however is not the case seemly list...

bug
help-wanted
needs-design

### Description Alternative implementation of #11666. This piggy backs off of TypeVar but doesn't add a new node for TypeVar (which was the original issue with this idea yonks ago)...

In no particular order: - [Remove abc.ABC as base class for Message](https://github.com/danielgtaylor/python-betterproto/commit/d968aedce661d3bda8d6238bd89408334da02d7e) - after asking there was no reason for this, saves a bit of Message type creation time -...

## Summary Removes any enum class name prefixes from enum members. NONE -> NONE ARITHMETIC_OPERATOR_NONE -> NONE ## Checklist - [x] If code changes were made then they have been...

enhancement
high priority

A continuation of #273 containing a reimplementation of betterproto.Enum (with 3.11+ features) as an open set along with some tests for this. Closes #291 Closes #157 Closes #169

high priority

If [PEP 681](https://www.python.org/dev/peps/pep-0681) is accepted we would be able to simplify the generated code by removing the dataclasses decorator and then implictly make `betterproto.Message`s be dataclasses by defining `__init_subclass__` and...

enhancement
medium

I think anyone who has used the library for a while will eventually run into an issue that is made hard to debug by the error messages when serialising and...

enhancement
medium

Preview at https://betterproto.readthedocs.io/en/fix-docs It would be nice if @danielgtaylor setup the webhooks to have this auto-build when a commit is pushed to master.