
    XjH                     ,    d dl mZ  G d de      ZdgZy)    )OperationTypec                   ,    e Zd ZdeddfdZdedefdZy)InvalidOperationTypeErroroperation_typereturnNc                     || _         y )N)r   )selfr   s     i/var/www/html/myl_app/scheduler-service/venv/lib/python3.12/site-packages/strawberry/schema/exceptions.py__init__z"InvalidOperationTypeError.__init__   s
    ,    methodc                     t         j                  dt         j                  dt         j                  di| j                     }| d| S )Nqueries	mutationssubscriptionsz are not allowed when using )r   QUERYMUTATIONSUBSCRIPTIONr   )r	   r   r   s      r
   as_http_error_reasonz.InvalidOperationTypeError.as_http_error_reason   sO    ""K&&
 

	 !!!=fXFFr   )__name__
__module____qualname__r   r   strr    r   r
   r   r      s+    -} - -G3 G3 Gr   r   N)strawberry.types.graphqlr   	Exceptionr   __all__r   r   r
   <module>r      s     2G	 G '
'r   