Skip to content

Commit

Permalink
Revert "feat: Add "transfer_manager" module for concurrent uploads an…
Browse files Browse the repository at this point in the history
…d downloads as a preview feature (#844)" (#897)

This reverts commit 9dcc684.
  • Loading branch information
cojenco committed Nov 7, 2022
1 parent 9ccdc5f commit 8b9abcf
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 1,007 deletions.
1 change: 0 additions & 1 deletion google/cloud/storage/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Constants used across google.cloud.storage modules."""

# Storage classes
Expand Down
6 changes: 2 additions & 4 deletions google/cloud/storage/fileio.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

"""Module for file-like access of blobs, usually invoked via Blob.open()."""
"""Support for file-like I/O."""

import io
import warnings
Expand Down Expand Up @@ -101,12 +101,10 @@ class BlobReader(io.BufferedIOBase):
- ``if_metageneration_match``
- ``if_metageneration_not_match``
- ``timeout``
Note that download_kwargs are also applied to blob.reload(), if a reload
is needed during seek().
"""

def __init__(self, blob, chunk_size=None, retry=DEFAULT_RETRY, **download_kwargs):
"""docstring note that download_kwargs also used for reload()"""
for kwarg in download_kwargs:
if kwarg not in VALID_DOWNLOAD_KWARGS:
raise ValueError(
Expand Down

0 comments on commit 8b9abcf

Please sign in to comment.