Title: list_instances is not returning expected Instance type · Issue #257 · googleapis/python-spanner · GitHub
Open Graph Title: list_instances is not returning expected Instance type · Issue #257 · googleapis/python-spanner
X Title: list_instances is not returning expected Instance type · Issue #257 · googleapis/python-spanner
Description: I'm migrating from 1.9 to 3.1 and I noticed that the list_instances() method used to return type Instance Open Graph Description: I'm migrating from 1.9 to 3.1 and I noticed that the list_instances() method used to return type Instance X Description: 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 return...
Opengraph URL: https://github.com/googleapis/python-spanner/issues/257
X: @github
Domain: github.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"list_instances is not returning expected Instance type","articleBody":"I'm migrating from 1.9 to 3.1 and I noticed that the `list_instances()` method used to return type [Instance](https://googleapis.dev/python/spanner/latest/instance-api.html#google.cloud.spanner_v1.instance.Instance)\u003cgoogle.cloud.spanner_v1.instance.Instance\u003e but with the latest it actually returns the [spanner admin instance](https://github.com/googleapis/python-spanner/blob/master/google/cloud/spanner_admin_instance_v1/types/spanner_instance_admin.py#L106)\u003cgoogle.cloud.spanner_admin_instance_v1.types.spanner_instance_admin.Instance\u003e which does not have the `instance_id`. Thus I now get an AttributeError.\r\n\r\nI'm unsure if this is a bug or if the [documentation](https://googleapis.dev/python/spanner/latest/client-api.html#google.cloud.spanner_v1.client.Client.list_instances) just hasn't been updated.","author":{"url":"https://github.com/gzamb","@type":"Person","name":"gzamb"},"datePublished":"2021-03-09T00:44:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/257/python-spanner/issues/257"}
route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:ce39c3d9-fa51-9ae8-65d3-e7160c81b3e4 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id 8004:418ED:746ED85:A30CADE:6A4FDF97 html-safe-nonce 58781d3d1dccfb0a7fe4a4a46efa221c30fafd9c9a61e09518447d07473e3c9c visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDA0OjQxOEVEOjc0NkVEODU6QTMwQ0FERTo2QTRGREY5NyIsInZpc2l0b3JfaWQiOiIyNDU4NjQ0MDU3NDY0NzU4MTY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= visitor-hmac eb944a3082f43f466c988ffea10833de79f67e0c9b2fa6cec1da07389c0d6dc1 hovercard-subject-tag issue:825107292 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-spanner/257/issue_layout twitter:image https://opengraph.githubassets.com/8ab96314d43c0e01afed8dac7192a2da7ab1fe7337fe9ec6059dcc05015248fc/googleapis/python-spanner/issues/257 twitter:card summary_large_image og:image https://opengraph.githubassets.com/8ab96314d43c0e01afed8dac7192a2da7ab1fe7337fe9ec6059dcc05015248fc/googleapis/python-spanner/issues/257 og:image:alt I'm migrating from 1.9 to 3.1 and I noticed that the list_instances() method used to return type Instance og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username gzamb hostname github.com expected-hostname github.com None 19b98c3d9767bb8a56238a89ff8401d1cbdf3bc5c353799aacf49fe6c76b4b7c turbo-cache-control no-preview go-import github.com/googleapis/python-spanner git https://github.com/googleapis/python-spanner.git octolytics-dimension-user_id 16785467 octolytics-dimension-user_login googleapis octolytics-dimension-repository_id 226992630 octolytics-dimension-repository_nwo googleapis/python-spanner octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 226992630 octolytics-dimension-repository_network_root_nwo googleapis/python-spanner turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release 142593e66413bbae27fd485859993597d5a3b104 ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.