
     Ji                    ~    d Z ddlmZ ddlmZmZmZ  G d de          Z G d de          Z G d d	e          Z	d
S )u  
Nom du fichier : groups.py
Chemin : /var/www/html/gitlab-bridge/app/schemas/groups.py
Description : Schémas Pydantic liés à la recherche de groupes GitLab pour le bridge OpenWebUI.
Options éventuelles :
    - Aucun
Exemples d'utilisation :
    - Import dans app/api/v1/groups.py
Prérequis :
    - Python 3.11+
    - Pydantic v2
Auteur : Sylvain SCATTOLINI
Date de création / modification : 2026-03-26
Version : 1.1
    )annotations)	BaseModel
ConfigDictFieldc                  T    e Zd ZU dZ ed          Zded<   ded<   ded<   ded	<   d
S )
GroupMatchu;   
    Groupe GitLab candidat renvoyé par la recherche.
    forbidextraintidstrname	full_pathscoreN)__name__
__module____qualname____doc__r   model_config__annotations__     1/var/www/html/gitlab-bridge/app/schemas/groups.pyr   r      sR           :H---LGGGIIINNNJJJJJr   r   c                      e Zd ZU dZ ed          Z eddd          Zded	<    ed
d          Z	ded<    eddd          Z
ded<   dS )GroupSearchRequestu+   
    Requête de recherche de groupes.
    r	   r
   .      )
min_length
max_lengthr   query )defaultr    	root_hint
   2   )r#   geler   limitN)r   r   r   r   r   r   r   r!   r   r$   r)   r   r   r   r   r   $   s           :H---LsqS999E9999U2#666I6666raB///E//////r   r   c                  N    e Zd ZU dZ ed          ZdZded<   ded<   d	ed
<   dS )GroupSearchResponseu+   
    Réponse de recherche de groupes.
    r	   r
   Tboolsuccessr   r!   zlist[GroupMatch]matchesN)r   r   r   r   r   r   r-   r   r   r   r   r+   r+   0   sV           :H---LGJJJr   r+   N)
r   
__future__r   pydanticr   r   r   r   r   r+   r   r   r   <module>r1      s      # " " " " " 1 1 1 1 1 1 1 1 1 1
 
 
 
 
 
 
 
	0 	0 	0 	0 	0 	0 	0 	0	 	 	 	 	) 	 	 	 	 	r   