Title: Got an unexpected keyword argument 'request' on create_topic · Issue #182 · googleapis/python-pubsub · GitHub
Open Graph Title: Got an unexpected keyword argument 'request' on create_topic · Issue #182 · googleapis/python-pubsub
X Title: Got an unexpected keyword argument 'request' on create_topic · Issue #182 · googleapis/python-pubsub
Description: Environment details OS type and version: macOS High Sierra 10.13.6 (17G9016) Python version: Python 3.8.5 pip version: pip 20.1.1 from /usr/local/lib/python3.8/site-packages/pip (python 3.8) google-cloud-pubsub version: Name: google-clou...
Open Graph Description: Environment details OS type and version: macOS High Sierra 10.13.6 (17G9016) Python version: Python 3.8.5 pip version: pip 20.1.1 from /usr/local/lib/python3.8/site-packages/pip (python 3.8) google...
X Description: Environment details OS type and version: macOS High Sierra 10.13.6 (17G9016) Python version: Python 3.8.5 pip version: pip 20.1.1 from /usr/local/lib/python3.8/site-packages/pip (python 3.8) google...
Opengraph URL: https://github.com/googleapis/python-pubsub/issues/182
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Got an unexpected keyword argument 'request' on create_topic","articleBody":"\r\n#### Environment details\r\n\r\n - OS type and version: macOS High Sierra 10.13.6 (17G9016)\r\n - Python version: `Python 3.8.5`\r\n - pip version: `pip 20.1.1 from /usr/local/lib/python3.8/site-packages/pip (python 3.8)`\r\n - `google-cloud-pubsub` version: \r\n```\r\nName: google-cloud-pubsub\r\nVersion: 1.6.1\r\nSummary: Google Cloud Pub/Sub API client library\r\nHome-page: https://github.com/googleapis/python-pubsub\r\nAuthor: Google LLC\r\nAuthor-email: googleapis-packages@google.com\r\nLicense: Apache 2.0\r\nLocation: /private/tmp/python-pubsub/samples/snippets/pubsub/lib/python3.8/site-packages\r\nRequires: grpc-google-iam-v1, google-api-core\r\nRequired-by: (pubsub) \r\n```\r\n\r\n#### Steps to reproduce\r\n```\r\ngit clone --depth=1 git@github.com:googleapis/python-pubsub.git /tmp/python-pubsub\r\nset -e\r\ncd /tmp/python-pubsub/samples/snippets\r\npip install virtualenv\r\nvirtualenv pubsub\r\nsource pubsub/bin/activate\r\nexport PUBSUB_EMULATOR_HOST=0.0.0.0:****\r\nexport PUBSUB_PROJECT_ID=****\r\npip install -r requirements.txt\r\npython publisher.py ***** create *****\r\n```\r\n\r\n#### Stack trace\r\n```\r\nTraceback (most recent call last):\r\n File \"publisher.py\", line 404, in \u003cmodule\u003e\r\n create_topic(args.project_id, args.topic_id)\r\n File \"publisher.py\", line 56, in create_topic\r\n topic = publisher.create_topic(request={\"name\": topic_path})\r\n File \"/private/tmp/python-pubsub/samples/snippets/pubsub/lib/python3.8/site-packages/google/cloud/pubsub_v1/_gapic.py\", line 40, in \u003clambda\u003e\r\n fx = lambda self, *a, **kw: wrapped_fx(self.api, *a, **kw) # noqa\r\nTypeError: create_topic() got an unexpected keyword argument 'request'\r\n```\r\n\r\nThanks!\r\n","author":{"url":"https://github.com/arnoe","@type":"Person","name":"arnoe"},"datePublished":"2020-09-08T08:47:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/182/python-pubsub/issues/182"}
| 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:4203d83b-7b61-c6b1-2b1d-9758f88c2d8c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A44:6829B:11B72AD:186BEC1:6A4DDDD7 |
| html-safe-nonce | 018eea5427b75d0dc98d9da97afcda03509e67f5095db0885b562f2c5b3ca5b7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTQ0OjY4MjlCOjExQjcyQUQ6MTg2QkVDMTo2QTRERERENyIsInZpc2l0b3JfaWQiOiI1MDg1MjY1NzgzMDM1OTExNjM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 69bab28af7feb5494fb9b373e0321057e421f04fb110b2a1ea0fbc7c6d20e2af |
| hovercard-subject-tag | issue:695682326 |
| 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-pubsub/182/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f0e7e25ef199923fbaf189e498305dc6ced59060eaf60ab5a175c292cf634d29/googleapis/python-pubsub/issues/182 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f0e7e25ef199923fbaf189e498305dc6ced59060eaf60ab5a175c292cf634d29/googleapis/python-pubsub/issues/182 |
| og:image:alt | Environment details OS type and version: macOS High Sierra 10.13.6 (17G9016) Python version: Python 3.8.5 pip version: pip 20.1.1 from /usr/local/lib/python3.8/site-packages/pip (python 3.8) google... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arnoe |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/python-pubsub git https://github.com/googleapis/python-pubsub.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 226992581 |
| octolytics-dimension-repository_nwo | googleapis/python-pubsub |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 226992581 |
| octolytics-dimension-repository_network_root_nwo | googleapis/python-pubsub |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width