v3: replace dicts with protos
daniel-sanche opened this issue · 2 comments
daniel-sanche commented
There are some places in the v3 API surface where we are using dicts as the canonical representation for data (example). Dicts make it easier for users to pass in configuration without constructing custom objects, but they make it harder to properly verify types and make assertions about the state of the request
Before release, we should do a pass through the code to see if there are any places where protos would be a better fit than dicts.
We should also consider whether unstructured dicts should be accepted in the a public API surface (as is standard for GCP libraries), or if we should lean more towards type safety for python-bigtable