
    Vh                         d dl mZ d dlmZmZmZ d dlmZ d dlm	Z	  e       Z
 e	       Z ee      Ze
j                  d       edd	      fd
ee   fd       Zy)    )Optional)	APIRouterHTTPExceptionQuery)CourseService)VesselService)vessel_servicez/sync/full_course_listNzVessel ID for dynamic roles)description	vessel_idc                 J    | t        dd      t        j                  |       S )z
    Sync the full course list based on the uploaded Offline dashboard Excel
    and dynamic roles fetched from the vessel API.
    i  zvessel_id is required)status_codedetail)r   servicesync_full_course_list)r   s    3/var/www/html/beaconod-api/app/api/course/router.pyr   r   
   s)     4KLL((33    )typingr   fastapir   r   r   app.api.course.servicer   app.api.vessel.servicer   course_routerr	   r   postintr    r   r   <module>r      s`     3 3 0 0
~
6,-5:4Mj5k 4Xc] 4 .4r   