File: //proc/1233/root/usr/lib/python3/dist-packages/compose/config/__pycache__/errors.cpython-310.pyc
o
S�`� � @ sh d Z G dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG d d
� d
e�ZG dd� de�Zd
S )a� You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/c @ s e Zd Zdd� Zdd� ZdS )�ConfigurationErrorc C �
|| _ d S �N��msg)�selfr � r �7/usr/lib/python3/dist-packages/compose/config/errors.py�__init__ �
zConfigurationError.__init__c C s | j S r r )r r r r �__str__ s zConfigurationError.__str__N)�__name__�
__module__�__qualname__r r r r r r r
s r c @ � e Zd ZdS )�EnvFileNotFoundN�r r
r r r r r r � r c @ r )�DependencyErrorNr r r r r r r r c @ s e Zd Zdd� Zedd� �ZdS )�CircularReferencec C r r )�trail)r r r r r r r
zCircularReference.__init__c C s dd� | j D �}d�d�|��S )Nc S s g | ]
\}}d � ||��qS )z{} in {})�format)�.0�filename�service_namer r r �
<listcomp> s
��z)CircularReference.msg.<locals>.<listcomp>zCircular reference:
{}z
extends )r r �join)r �linesr r r r s �zCircularReference.msgN)r r
r r �propertyr r r r r r s r c � e Zd Z� fdd�Z� ZS )�ComposeFileNotFoundc s t � �dd�|� � d S )Nz�
Can't find a suitable configuration file in this directory or any
parent. Are you in the right directory?
Supported filenames: %s
�, )�superr r )r �supported_filenames�� __class__r r r ( s
�zComposeFileNotFound.__init__�r r
r r �
__classcell__r r r# r r '