Skip to content

Clean-up samples/snippets/requirements.txt #1352

@tswast

Description

@tswast

Ideally we'd have some code samples which only require the bare minimum dependencies (no pandas, no google-cloud-bigquery-storage, no protobuf, etc). The samples/snippets directory would be perfect for this, but:

  1. There are a couple of pandas-related samples there which ideally should be moved to a samples/pandas directory.
  2. Likewise, there is a "desktop application" sample https://github.com/googleapis/python-bigquery/blob/main/samples/snippets/user_credentials.py which ideally belongs in its own directory with its own noxfile.py and requirements.txt. This is because it's responsible for the google-auth-oauthlib dependency, which isn't required for any other samples. Maybe we call this directory samples/desktopapp or something?

Related issues:

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/python-bigquery API.samplesIssues that are directly related to samples.type: processA process-related concern. May include testing, release, or the like.wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions