-
### Summary
`mypy --strict` fails with `Name "betterproto.ServiceStub" is not defined`
### Reproduction Steps
1. Generate some gRPC files from some proto files
2. Run `mypy` on the generated code
…
-
I'm generating proto code into `myapp/codegen`. At the moment, the generated files contain an absolute import `import server_grpc_pb2 as server__grpc__pb2` instead of the correct relative import `from…
-
My `requirements.in` contains a package which depends on `betterproto>=2.0.0b6`. The `requirements.txt` was initially generated using `pip` and contains `betterproto==2.0.0b6`.
Running `uv pip comp…
-
https://github.com/astral-sh/uv currently fails to install protobuf-specs: https://github.com/theupdateframework/tuf-on-ci/issues/205
* uv does not accept pre-releases without an explicit `--prerelea…
-
### Summary
K8s List type proto conflicts with the typing List type
### Reproduction Steps
use https://github.com/kubernetes/kubernetes/blob/c6b5191c37f939d2d61e76de222a96ae5f5d9558/staging/src/k8s…
imcdo updated
3 weeks ago
-
Opening this as an idea; I'm unsure if it's a good one.
Context: `sigstore-protobuf-specs` uses `betterproto` for its Protobuf codegen, rather than the `protobuf` package. This has a few API-side a…
-
### Summary
Title
### Reproduction Steps
This protofile works:
```proto3
// proto/test.proto
syntax = "proto3";
package p;
service Service {
rpc Method(Empty) returns (Empty) {}
}
…
-
-
Given the following protobuf:
```
message ABCAnswerDeleted {
uint64 test_id = 1;
}
```
Version: `betterproto[compiler]` -> `2.0.0b2` or `2.0.0b3` gives
```
@dataclass(eq=False, repr=False)…
-
### What happened?
`Forecasts.to_ndarray` does not work with timezone-aware datetime objects, but only with timezone-naive ones.
### What did you expect instead?
Can be used with timezone-aware dat…