
    Xj                     \    d dl mZ ddlmZmZmZmZ  ee          Z G d de          Z	dS )    )
get_logger   )	JobStatusTrainingConfigTrainingPlatformTrainingResultc                   N    e Zd ZdedefdZdedefdZdedefdZ	dede
fdZdS )	AliyunPlatformconfigreturnc                 T    t                               d           t          d          )Nz!Aliyun create_training_job called#Aliyun platform not implemented yet)loggerinfoNotImplementedError)selfr   s     W/lsinfo/ai/hellotax_ai/training_center/backend/app/services/training_platform/aliyun.pycreate_training_jobz"AliyunPlatform.create_training_job
   s$    7888!"GHHH    job_idc                 |    t                               |                              d           t          d          )Nr   zAliyun get_job_status calledr   r   bindr   r   r   r   s     r   get_job_statuszAliyunPlatform.get_job_status   4    6""''(FGGG!"GHHHr   c                 |    t                               |                              d           t          d          )Nr   zAliyun get_job_result calledr   r   r   s     r   get_job_resultzAliyunPlatform.get_job_result   r   r   c                 |    t                               |                              d           t          d          )Nr   zAliyun cancel_job calledr   r   r   s     r   
cancel_jobzAliyunPlatform.cancel_job   s4    6""''(BCCC!"GHHHr   N)__name__
__module____qualname__r   strr   r   r   r   r   boolr!    r   r   r
   r
      s        I. IS I I I IIS IY I I I IIS I^ I I I II I I I I I I Ir   r
   N)
common_loggingr   baser   r   r   r   r"   r   r
   r'   r   r   <module>r*      s    % % % % % % M M M M M M M M M M M M	H		I I I I I% I I I I Ir   