GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Pubsub basic API broken · Issue #3875 · googleapis/google-cloud-python

Pubsub basic API broken #3875

New issue
Copy link
New issue
Copy link
Closed
Closed
Pubsub basic API broken#3875
Copy link
Assignees
lukesneeringer
Labels
api: pubsubIssues related to the Pub/Sub API.

Description

@kardamom
kardamom
opened on Aug 24, 2017
Issue body actions

In 0.28.1:
Python 3.6.1 (v3.6.1:69c0db5050, Mar 21 2017, 01:21:04)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

from google.cloud import pubsub
cl = pubsub.Client()
Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'google.cloud.pubsub' has no attribute 'Client'

In 0.27:
Python 3.6.1 (v3.6.1:69c0db5050, Mar 21 2017, 01:21:04)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

from google.cloud import pubsub
cl = pubsub.Client()
quit()

Activity

  1. lukesneeringer commented on Aug 24, 2017

    @lukesneeringer
    lukesneeringer
    on Aug 24, 2017
    Contributor
    More actions

    Actually, this is not an error. We made a very sweeping change to the API (primarily at the request of the Pub/Sub team), as noted in the release notes.

    The documentation on the new surface is here.

  2. lukesneeringer commented on Aug 24, 2017

    @lukesneeringer
    lukesneeringer
    on Aug 24, 2017
    Contributor
    More actions

    Hey @kardamom, I saw you made a comment in #3863 that the API was ahead of the docs -- did I miss a link somewhere?

  3. kardamom commented on Aug 24, 2017

    @kardamom
    kardamom
    on Aug 24, 2017
    Author
    More actions

    'Using the API': https://github.com/GoogleCloudPlatform/google-cloud-python/tree/master/pubsub

  4. lukesneeringer
    added 2 commits that reference this issue on Aug 24, 2017

    Documentation fix.

    This issue will close once commit 99599e2 is merged into the 'master' branch.
    99599e2

    Documentation fix.

    This issue will close once commit ce050b1 is merged into the 'master' branch.
    ce050b1
  5. lukesneeringer commented on Aug 24, 2017

    @lukesneeringer
    lukesneeringer
    on Aug 24, 2017
    Contributor
    More actions

    Sure enough, I missed one. #3876 filed to update it, will merge when CI goes green.

  6. lukesneeringer
    closed this as completedin #3876on Aug 24, 2017
  7. dhermes
    added
    api: pubsubIssues related to the Pub/Sub API.
    on Sep 27, 2017
  8. JustinBeckwith
    assigned
    lukesneeringer
    on Feb 1, 2021
  9. parthea
    added a commit that references this issue on Oct 21, 2023

    move monitoring samples from python-docs-samples (#51)

    This issue will close once commit d95f563 is merged into the 'main' branch.
    d95f563
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lukesneeringer
    lukesneeringer

Labels

api: pubsubIssues related to the Pub/Sub API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.