Re: [capnproto] Schema Refactoring and Unique IDs

2020-11-27 Thread 'Kenton Varda' via Cap'n Proto
On Wed, Nov 25, 2020 at 3:43 PM Matt Stern wrote: > When I try to run capnp compile, I get the following: > > error: Import failed: /capnp/java.capnp > You will need to specify the same -I flags (import path) that you normally specify to `capnp compile` when running the Java code generator. If

[capnproto] Nested lists with pycapnp

2020-11-27 Thread Wichert Akkerman
Hi everyone, I have a schema that uses a two-dimensional list. The schema looks like this: struct Feature { coordinates @4 :List(List(Float64)); } Where coordinates will be a list of 2-item lists. I can initialise the outer list easily: feature = geo_schema.Feature.new_message() coordinates