list_instances is not returning expected Instance type #257
Labels
api: spanner
Issues related to the googleapis/python-spanner API.
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
🚨
This issue needs some love.
type: docs
Improvement to the documentation for an API.
I'm migrating from 1.9 to 3.1 and I noticed that the
list_instances()
method used to return type Instance<google.cloud.spanner_v1.instance.Instance> but with the latest it actually returns the spanner admin instance<google.cloud.spanner_admin_instance_v1.types.spanner_instance_admin.Instance> which does not have theinstance_id
. Thus I now get an AttributeError.I'm unsure if this is a bug or if the documentation just hasn't been updated.
The text was updated successfully, but these errors were encountered: