Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
lib
/
python3
/
dist-packages
/
docker
/
models
/
__pycache__
/
Filename :
images.cpython-310.pyc
back
Copy
o �2.a`D � @ s� d dl Z d dlZd dlZddlmZ ddlmZ ddlmZm Z m Z ddlmZ ddl mZ dd lmZmZ G d d� de�ZG dd � d e�ZG dd� de�Zdd� ZdS )� N� )� APIClient)�DEFAULT_DATA_CHUNK_SIZE)� BuildError�ImageLoadError�InvalidArgument)�parse_repository_tag)�json_stream� )� Collection�Modelc @ s\ e Zd ZdZdd� Zedd� �Zedd� �Zedd � �Zd d� Z e dfd d�Zddd�ZdS )�Imagez! An image on the server. c C s d� | jjd�| j��S )Nz <{}: '{}'>z', ')�format� __class__�__name__�join�tags��self� r �6/usr/lib/python3/dist-packages/docker/models/images.py�__repr__ � zImage.__repr__c C s | j d �d�}|pi S )z7 The labels of an image as dictionary. �Config�Labels��attrs�get)r �resultr r r �labels s zImage.labelsc C s( | j �d�r | j dd� S | j dd� S )�f The ID of the image truncated to 10 characters, plus the ``sha256:`` prefix. �sha256:N� � )�id� startswithr r r r �short_id s zImage.short_idc C s&