

@db.non_transactional
def delete_object(self, filename):
    "Delete file with a DELETE.\n\n    Args:\n      filename: gcs filename of form '/bucket/filename'\n\n    Returns:\n      True if file is deleted. False if file doesn't exist.\n    "
    common.validate_file_path(filename)
    blobkey = gcsfileinfo._filename_to_blobkey(filename)
    key = blobstore_stub.BlobstoreServiceStub.ToDatastoreBlobKey(blobkey)
    gcsfileinfo = db.get(key)
    if (not gcsfileinfo):
        return False
    blobstore_stub.BlobstoreServiceStub.DeleteBlob(blobkey, self.blob_storage)
    return True

dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/ext/cloudstorage/cloudstorage_stub.py CloudStorageStub.delete_object/VarMisuse@28/105 `self`->`gcsfileinfo`