Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

apteryx

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apteryx - npm Package Compare versions

Comparing version
1.0.9
to
1.0.10
+5
-1
apteryx/google/storage.py

@@ -0,1 +1,2 @@

import pathlib
from typing import Union

@@ -57,3 +58,3 @@ from pathlib import Path

def rename_blob(blob: storage.blob.Blob, new_name: str, client=client):
def rename_blob(blob: storage.blob.Blob, new_name: Union[str, pathlib.Path], client=client):
"""Renames a blob."""

@@ -64,2 +65,5 @@ # bucket_name = "your-bucket-name"

if isinstance(new_name, pathlib.Path):
new_name = str(new_name)
bucket = client.bucket(blob.bucket.name)

@@ -66,0 +70,0 @@

+1
-1
Metadata-Version: 2.1
Name: apteryx
Version: 1.0.9
Version: 1.0.10
Summary: Utilities and useful things for Apteryx Labs

@@ -5,0 +5,0 @@ License: MIT

@@ -7,3 +7,3 @@ [build-system]

name = "apteryx"
version = "1.0.9"
version = "1.0.10"
description = "Utilities and useful things for Apteryx Labs"

@@ -10,0 +10,0 @@ authors = [ "apteryxlabs <matthew@apteryxlabs.com>",]

@@ -23,3 +23,3 @@ # -*- coding: utf-8 -*-

'name': 'apteryx',
'version': '1.0.9',
'version': '1.0.10',
'description': 'Utilities and useful things for Apteryx Labs',

@@ -26,0 +26,0 @@ 'long_description': None,