o
    Uh                     @   s   d dl mZmZ d dlmZ d dlmZ d dlmZ d dl	m
Z
 d dlmZmZ e Zejddd	ee
eefd
ededefddZejddd	ee
eefdededefddZdS )    )	APIRouterDepends)Session)CompetitorAnalysisCreat)CompetitorAnalysisService)get_db)JWTPayloadSchemaget_current_studentz/competitorT)response_model_exclude_nonerequestdbtokenc                       t ||| I d H S N)r   create_competitor_analysis)r   r   r    r   =/var/www/html/RetailAPI/app/api/competitor_analysis/router.pycreate_group      r   z/competitor_res/{group_id}group_idc                    r   r   )r   get_competitor_analysis)r   r   r   r   r   r   get_simulation   r   r   N)fastapir   r   sqlalchemy.ormr   #app.api.competitor_analysis.schemasr   #app.api.competitor_analysis.servicer   app.database.main.mysqlr   app.dependency.authanticationr   r	   competitor_analysis_routerpostr   getintr   r   r   r   r   <module>   s    &*