Ë
    ×»iÀ  ã                   óÀ   — 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¬	«       ee
«       ee«      fd
ededefd„«       Zy)é    )Ú	APIRouterÚDepends)ÚSession)ÚCategorySimulationCreate)ÚCategorySimulationService)Úget_db)ÚJWTPayloadSchemaÚget_current_userz/create_category_simulationT)Úresponse_model_exclude_noneÚrequestÚdbÚtokenc              ƒ   óT   K  — t        ||«      j                  | «      ƒ d {  –—† S 7 Œ­w)N)r   Úcreated)r   r   r   s      úI/var/www/html/retail-simulation-api/app/api/category_simulation/router.pyÚcreate_category_simulationr   
   s$   è ø€ ä*¨2¨eÓ4×<Ñ<¸WÓE×EÐEÐEús   ‚(¡&¢(N)Úfastapir   r   Úsqlalchemy.ormr   Ú"app.api.category_simulation.schemar   Ú#app.api.category_simulation.servicer   Úapp.database.main.mysqlr   Úapp.dependency.authanticationr	   r
   Úcategory_simulation_routerÚpostr   © ó    r   ú<module>r      s~   ðß &Ý "Ý GÝ IÝ *ß Lá&›[Ð à× Ñ Ð!>Ð\`Ð ÓaÙT[Ð\bÓTcñ  Fð  GWó  Xñ FÐ-Eð FÈ'ð FÐk{ò Fó bñFr   