B
    F.\                 @   s   d dl Z d dlZd dlmZ d dlmZ d dlmZmZ d dl	m
Z
 e ejdeddejd	eddd
d Zdd Zedkre  dS )    N)gen)IOLoop)check_python_3install_signal_handlers)_submitremote_client_addressT)typeZrequiredfilepathc                s&   t j fdd}t | d S )Nc              3   s<   t  V \} }| r$tjt|  |r8tjt| d S )N)r   sysstdoutwritestrstderr)r   r   )r	   r    :lib/python3.7/site-packages/distributed/cli/dask_submit.pyf   s
    zmain.<locals>.f)r   	coroutiner   instanceZrun_sync)r   r	   r   r   )r	   r   r   main	   s    r   c               C   s   t   t  t  d S )N)r   r   r   r   r   r   r   go   s    r   __main__)r
   ZclickZtornador   Ztornado.ioloopr   Zdistributed.cli.utilsr   r   Zdistributed.submitr   ZcommandZargumentr   r   r   __name__r   r   r   r   <module>   s   