Skip to content

samples: Delete samples/snippets directory#389

Merged
parthea merged 2 commits intomainfrom
delete-legacy-snippets
Feb 26, 2026
Merged

samples: Delete samples/snippets directory#389
parthea merged 2 commits intomainfrom
delete-legacy-snippets

Conversation

@chalmerlowe
Copy link
Contributor

@chalmerlowe chalmerlowe commented Feb 26, 2026

@chalmerlowe chalmerlowe requested a review from a team as a code owner February 26, 2026 14:05
@product-auto-label product-auto-label bot added the size: l Pull request size is large. label Feb 26, 2026
@product-auto-label product-auto-label bot added api: bigquery Issues related to the googleapis/python-db-dtypes-pandas API. samples Issues that are directly related to samples. labels Feb 26, 2026
@gemini-code-assist
Copy link

Summary of Changes

Hello @chalmerlowe, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request streamlines the repository by eliminating a redundant samples/snippets directory. The content of this directory, which included Python code for BigQuery Pandas date and time operations, along with its associated testing and configuration files, was previously moved to a centralized python-docs-samples repository. This cleanup ensures that sample code is maintained in a single, authoritative location, reducing duplication and simplifying repository management.

Highlights

  • Sample Directory Removal: The samples/snippets directory and all its contents have been entirely removed from the repository.
  • Migration to Centralized Repository: These samples were previously migrated to the GoogleCloudPlatform/python-docs-samples repository, making their presence here redundant.
  • Issue Closure: This pull request closes issue chore(deps): update all dependencies #386, which tracked the migration and subsequent removal of these samples.
Changelog
  • samples/init.py
    • Removed the __init__.py file from the samples directory.
  • samples/snippets/init.py
    • Removed the __init__.py file from the samples/snippets directory.
  • samples/snippets/noxfile.py
    • Removed the noxfile.py used for testing and formatting within the snippets directory.
  • samples/snippets/pandas_date_and_time.py
    • Removed the Python sample code demonstrating Pandas date and time operations with BigQuery db_dtypes.
  • samples/snippets/pandas_date_and_time_test.py
    • Removed the test file associated with the Pandas date and time sample.
  • samples/snippets/requirements-test.txt
    • Removed the requirements-test.txt file specifying testing dependencies.
  • samples/snippets/requirements.txt
    • Removed the requirements.txt file specifying sample dependencies.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the samples/snippets directory and its contents. As stated in the description, these samples have been migrated to another repository. The changes are consistent with this objective, removing the specified files. No further issues were identified in the provided context.

@chalmerlowe chalmerlowe requested a review from a team as a code owner February 26, 2026 15:22
@chalmerlowe chalmerlowe added automerge Merge the pull request once unit tests and other checks pass. labels Feb 26, 2026
@parthea parthea merged commit 091b55e into main Feb 26, 2026
26 checks passed
@parthea parthea deleted the delete-legacy-snippets branch February 26, 2026 16:57
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the googleapis/python-db-dtypes-pandas API. samples Issues that are directly related to samples. size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants