Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/libcloud/storage/drivers/__pycache__/google_storage.cpython-39.pyc
Ðазад
a q�hk; � @ s d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ d dlm Z d dl mZ d dlm Z d dlmZ d d lmZ d d lmZ d dlmZ d dlmZ d ZdZde Zdd� ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de �ZG dd� de�ZG dd� de�ZdS )� N)�ConnectionUserAndKey)�GoogleAuthType)�GoogleOAuth2Credential)�GoogleResponse)� ProviderError)�BaseS3Connection)�BaseS3StorageDriver)� S3RawResponse)� S3Response)�httplib��urlquoteZGOOG1z 2006-03-01zhttp://doc.s3.amazonaws.com/%sc C s | rt | dd�S dS )a) Return the URL encoded name. name=None returns None. Useful for input checking without having to check for None first. :param name: The object name :type name: ``str`` or ``None`` :return: The url-encoded object name or None if name=None. :rtype ``str`` or ``None`` � )�safeNr )�name� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/libcloud/storage/drivers/google_storage.py�_clean_object_name( s r c @ s$ e Zd Zg d�ZdZdZdZdZdS )�ContainerPermissions)�NONE�READER�WRITER�OWNERr � � � N)�__name__� __module__�__qualname__�valuesr r r r r r r r r 6 s r c @ s e Zd Zg d�ZdZdZdZdS )�ObjectPermissions)r r r r r r N)r r r r r r r r r r r r >