KEMBAR78
Comparing v3.4.0...v3.4.1 · googleapis/python-storage · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/python-storage
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.4.0
Choose a base ref
...
head repository: googleapis/python-storage
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.4.1
Choose a head ref
  • 14 commits
  • 16 files changed
  • 4 contributors

Commits on Sep 17, 2025

  1. Configuration menu
    Copy the full SHA
    aca40f5 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2025

  1. feat: Add async bidiRpc files in python-storage (#1545)

    * Add async bidiRpc files in python-storage
    
    these files will be removed once googleapis/python-api-core#836
    gets submitted
    
    * fix import path for bidi_base
    chandra-siri authored Sep 18, 2025
    Configuration menu
    Copy the full SHA
    8b988ad View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2025

  1. feat(experimental): add AsyncAbstractObjectStream (#1546)

    * add AsyncAbstractObjectStream
    
    this will be the parent class for AsyncReadObjectStream and AsyncWriteObjectStream
    
    * keep _AsyncAbstractObjectStream private
    
    * include handle in tests
    
    * remove unit tests for abstract class
    
    * bucket_name and object_name cannot be NONE
    
    * minor edit - add bidi-stream in doc string
    chandra-siri authored Sep 19, 2025
    Configuration menu
    Copy the full SHA
    71e0904 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2025

  1. feat(experimental): Add _AsyncReadObjectStream and it's stubs (#1547)

    * add AsyncAbstractObjectStream
    
    this will be the parent class for AsyncReadObjectStream and AsyncWriteObjectStream
    
    * keep _AsyncAbstractObjectStream private
    
    * Add _AsyncReadObjectStream and it's stubs
    
    * fix doc strings, add licence and type hints
    
    * pass abstract methods
    
    * add handle param
    
    * include handle in tests
    
    * remove unit tests for abstract class
    
    * edit doc string for _AsyncReadObjectStream
    
    * bucket_name and object_name cannot be NONE
    
    * bucket_name and object_name cannot be None
    
    * minor edit - add bidi-stream in doc string
    
    * add checks for invalid inputs
    chandra-siri authored Sep 22, 2025
    Configuration menu
    Copy the full SHA
    3c8a21d View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2025

  1. feat(experimental): Implement __init__ method for _AsyncReadObjectS…

    …tream (#1548)
    
    * feat(experimental): Implement `__init__` method for _AsyncReadObjectStream (#1548)
    chandra-siri authored Sep 23, 2025
    Configuration menu
    Copy the full SHA
    c31a516 View commit details
    Browse the repository at this point in the history
  2. feat(zb-experimental): Add all other methods open close send recv in …

    …_AsyncReadObjectStream (#1549)
    
    * add AsyncAbstractObjectStream
    
    this will be the parent class for AsyncReadObjectStream and AsyncWriteObjectStream
    
    * keep _AsyncAbstractObjectStream private
    
    * Add _AsyncReadObjectStream and it's stubs
    
    * complete __init__ for read_obj_str
    
    * remove unuseful comments
    
    * add methods open close send recv
    
    * change read_handle type from 'str' to 'bytes'
    
    * fix doc strings, add licence and type hints
    
    * pass abstract methods
    
    * add handle param
    
    * include handle in tests
    
    * remove unit tests for abstract class
    
    * edit doc string for _AsyncReadObjectStream
    
    * refactor unit tests for async_read_object_stream
    
    * bucket_name and object_name cannot be NONE
    
    * bucket_name and object_name cannot be None
    
    * simplyfy tests for open
    
    * simply tests for send recv and close
    
    * minor edit - add bidi-stream in doc string
    
    * add checks for invalid inputs
    
    * remove duplicated import
    
    * remove unused import
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * remove unused import
    
    ---------
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    chandra-siri and gcf-owl-bot[bot] authored Sep 23, 2025
    Configuration menu
    Copy the full SHA
    fc8461b View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2025

  1. feat(zb-experimental): Add AsyncMultiRangeDownloader (#1550)

    feat(zb-experimental): Add AsyncMultiRangeDownloader and it's init method.
    chandra-siri authored Sep 24, 2025
    Configuration menu
    Copy the full SHA
    4766164 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2025

  1. feat(zb-experimental): implement download_ranges (#1551)

    Downloads multiple byte ranges from the object into the buffers provided by user.
    
    This interface provides option to download multiple ranges of a GCS  `Object`
        concurrently.
    
    Example usage
    
    ```python
    
            client = AsyncGrpcClient().grpc_client
            mrd = await AsyncMultiRangeDownloader.create_mrd(
                client, bucket_name="chandrasiri-rs", object_name="test_open9"
            )
            my_buff1 = open('my_fav_file.txt', 'wb')
            my_buff2 = BytesIO()
            my_buff3 = BytesIO()
            my_buff4 = any_object_which_provides_BytesIO_like_interface()
            results_arr, error_obj = await mrd.download_ranges(
                [
                    (0, 100, my_buff1),
                    (100, 20, my_buff2),
                    (200, 123, my_buff3),
                    (300, 789, my_buff4),
                ]
            )
            if error_obj:
                print("Error occurred: ")
                print(error_obj)
                print(
                    "please issue call to `download_ranges` with updated"
                    "`read_ranges` based on diff of (bytes_requested - bytes_written)"
                )
    
            for result in results_arr:
                print("downloaded bytes", result)
    ```
    chandra-siri authored Sep 29, 2025
    Configuration menu
    Copy the full SHA
    e26888f View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2025

  1. feat(zb-experimental): Add support for closing MRD (#1554)

    * add `is_stream_open` and check it's value before doing any of the following operation. `open` , `close` , `send` ,`recv`
    * Instantiate `socket_like_rpc` inside open, so that it is a new object every time we open. 
       * Otherwise, consider this scenario where a user is opening after closing then `initial_request` would be None because close sets it to None.
    chandra-siri authored Sep 30, 2025
    Configuration menu
    Copy the full SHA
    9c8856a View commit details
    Browse the repository at this point in the history
  2. feat(zb-experimental): implement close in AsyncMultiRangeDownloader (

    …#1555)
    
    feat(zb-experimental): implement `close` in AsyncMultiRangeDownloader
    chandra-siri authored Sep 30, 2025
    Configuration menu
    Copy the full SHA
    aba4c6b View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2025

  1. chore: remove unwanted comments in AsyncMRD (#1557)

    chore: remove unwanted comments in AsyncMRD
    chandra-siri authored Oct 1, 2025
    Configuration menu
    Copy the full SHA
    cdbb26c View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2025

  1. feat(experimental): Read handle refresh (#1559)

    * feat(experimental): refresh read handles
    
    * fix unit tests
    Pulkit0110 authored Oct 7, 2025
    Configuration menu
    Copy the full SHA
    b975732 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2025

  1. fix: send entire object checksums via upload methods (#1561)

    fixes #1541 : Send entire object checksums via upload methods and remove it from Object properties.
    
    * In recent release, v3.3.1 this library provided an option for users to specify entire object checksum before performing resumable upload. It introduced the bug #1541  
    
    * This PR is fixing it by providing the option to specify entire object checksum via upload methods - `upload_from_string`, `upload_from_file` and `upload_from_filename`. 
    
    * **Note**: Ability to specify entire upload checksum is applicable only for [Resumable Uploads](https://cloud.google.com/storage/docs/performing-resumable-uploads) , which in this library is applicable for uploads of object greater than 8 MiB
    chandra-siri authored Oct 8, 2025
    Configuration menu
    Copy the full SHA
    acb918e View commit details
    Browse the repository at this point in the history
  2. chore(main): release 3.4.1 (#1552)

    * chore(main): release 3.4.1
    
    * 🦉 Updates from OwlBot post-processor
    
    See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
    
    * Update CHANGELOG.md
    
    Don't bump minor version for experimental changes.
    
    * Update just the minor version.
    
    Update just the minor version. Don't update minor version for experimental features.
    
    * Update version.py from 3.5.0 to 3.4.1
    
    Update just the patch version. Don't update (bump up) minor version for experimental features.
    
    ---------
    
    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Chandra Shekhar Sirimala <chandrasiri@google.com>
    3 people authored Oct 8, 2025
    Configuration menu
    Copy the full SHA
    5ee391d View commit details
    Browse the repository at this point in the history
Loading