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 d dlmZmZ e Zejdd	d
dedeeeef deeeef fddZedeeeefdededefddZdS )    )	APIRouterDepends)Session)	Annotated)plumbingCreate)PlumlingService)get_db)JWTPayloadSchemaget_current_studentz/Plumbing_creatT)response_model_exclude_nonerequestdbtokenc                       t ||| I d H S N)r   create_plumbing)r   r   r    r   2/var/www/html/RetailAPI/app/api/plumbing/router.pyr         r   z/Plumbing_creat/{group_id}group_idc                    r   r   )r   get_plumbing)r   r   r   r   r   r   get_total_consumption_by_group   r   r   N)fastapir   r   sqlalchemy.ormr   typingr   app.api.plumbing.schemasr   app.api.plumbing.servicer   app.database.main.mysqlr   app.dependency.authanticationr	   r
   plumbing_routerpostr   getintr   r   r   r   r   <module>   s    0*