o
    wi                     @  sT  d dl mZ d dlmZ d dlmZmZmZmZ d dlm	Z	 d dl
mZmZmZ ddlmZmZ G dd	 d	eZG d
d deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG d d! d!eZG d"d# d#eZG d$d% d%eZG d&d' d'eZ G d(d) d)eZ!e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e"  e "  e"  e!"  e"  d*S )+    )annotations)datetime)ListLiteralOptionalUnion)Field)GQLId	GQLResultTypename   )AlertSeverityEventTriggeringConditionTypec                   @  *   e Zd ZU dZded< ded< ded< dS )	ArtifactPortfolioScopeFieldsArtifactPortfolioz&Typename[Literal['ArtifactPortfolio']]
typename__r	   idstrnameN__name__
__module____qualname__r   __annotations__ r   r   Z/home/ubuntu/.local/lib/python3.10/site-packages/wandb/automations/_generated/fragments.pyr         
 r   c                   @  r   )	ArtifactSequenceScopeFieldsArtifactSequencez%Typename[Literal['ArtifactSequence']]r   r	   r   r   r   Nr   r   r   r   r   r      r   r   c                   @  s4   e Zd ZU dZded< eddZded< ded	< d
S )FilterEventFieldsFilterEventTriggeringConditionz3Typename[Literal['FilterEventTriggeringCondition']]r   	eventTypealiasr   
event_typer   filterN)r   r   r   r   r   r   r%   r   r   r   r   r       s
   
 
r    c                   @  s<   e Zd ZU dZded< ded< ded< edd	Zded
< dS )WebhookIntegrationFieldsGenericWebhookIntegrationz.Typename[Literal['GenericWebhookIntegration']]r   r	   r   r   r   urlEndpointr#   url_endpointN)r   r   r   r   r   r   r*   r   r   r   r   r'   $   s   
 
r'   c                   @  s>   e Zd ZU dZded< eddZded< eddZd	ed
< dS )GenericWebhookActionFieldsGenericWebhookTriggeredActionz2Typename[Literal['GenericWebhookTriggeredAction']]r   discriminatorzQUnion[GenericWebhookActionFieldsIntegrationIntegration, WebhookIntegrationFields]integrationrequestPayloadr#   Optional[str]request_payloadN)r   r   r   r   r   r   r/   r2   r   r   r   r   r+   -   s   
 

r+   c                   @     e Zd ZU ded< dS )0GenericWebhookActionFieldsIntegrationIntegrationzNTypename[Literal['GitHubOAuthIntegration', 'Integration', 'SlackIntegration']]r   Nr   r   r   r   r   r   r   r   r4   7      
 r4   c                   @  s,   e Zd ZU dZded< eddZded< dS )	NoOpActionFieldsNoOpTriggeredActionz(Typename[Literal['NoOpTriggeredAction']]r   noOpr#   zOptional[bool]no_opN)r   r   r   r   r   r   r:   r   r   r   r   r7   =   s   
 r7   c                   @  sF   e Zd ZU dZded< ded< eddZded	< ed
dZded< dS )SlackIntegrationFieldsSlackIntegrationz%Typename[Literal['SlackIntegration']]r   r	   r   teamNamer#   r   	team_namechannelNamechannel_nameN)r   r   r   r   r   r   r>   r@   r   r   r   r   r;   B   s
   
 r;   c                   @  sD   e Zd ZU dZded< eddZded< ded< ded	< d
ed< dS )NotificationActionFieldsNotificationTriggeredActionz0Typename[Literal['NotificationTriggeredAction']]r   r-   zMUnion[NotificationActionFieldsIntegrationIntegration, SlackIntegrationFields]r/   r1   titlemessagezOptional[AlertSeverity]severityN)r   r   r   r   r   r   r/   r   r   r   r   rA   I   s   
 

rA   c                   @  r3   ).NotificationActionFieldsIntegrationIntegrationzWTypename[Literal['GenericWebhookIntegration', 'GitHubOAuthIntegration', 'Integration']]r   Nr5   r   r   r   r   rF   U   r6   rF   c                   @  s2   e Zd ZU eddZded< eddZded< dS )	PageInfoFields	endCursorr#   r1   
end_cursorhasNextPageboolhas_next_pageN)r   r   r   r   rI   r   rL   r   r   r   r   rG   [   s   
 rG   c                   @  r   )	ProjectScopeFieldsProjectTypename[Literal['Project']]r   r	   r   r   r   Nr   r   r   r   r   rM   `   r   rM   c                   @  r   )	QueueJobActionFieldsQueueJobTriggeredActionz,Typename[Literal['QueueJobTriggeredAction']]r   z#Optional[QueueJobActionFieldsQueue]queuer   templateNr   r   r   r   r   rP   f   r   rP   c                   @  s   e Zd ZU ded< ded< dS )QueueJobActionFieldsQueuer	   r   r   r   Nr5   r   r   r   r   rT   l   s   
 rT   c                   @  s   e Zd ZU dZded< ded< eddZded	< ed
dZded< ded< ded< ded< eddZded< ded< eddZ	ded< dS )TriggerFieldsTriggerzTypename[Literal['Trigger']]r   r	   r   	createdAtr#   r   
created_at	updatedAtzOptional[datetime]
updated_atr   r   r1   descriptionrK   enabledr-   zTUnion[ArtifactPortfolioScopeFields, ArtifactSequenceScopeFields, ProjectScopeFields]scoper    eventzUnion[GenericWebhookActionFields, NoOpActionFields, NotificationActionFields, TriggerFieldsActionPushNotificationTriggeredAction, QueueJobActionFields]actionN)
r   r   r   r   r   r   rX   rZ   r]   r_   r   r   r   r   rU   q   s   
 
rU   c                   @  r3   )2TriggerFieldsActionPushNotificationTriggeredActionz4Typename[Literal['PushNotificationTriggeredAction']]r   Nr5   r   r   r   r   r`      r6   r`   c                   @  s"   e Zd ZU dZded< ded< dS )ProjectTriggersFieldsrN   rO   r   zList[TriggerFields]triggersNr   r   r   r   r   ra      s   
 ra   N)#
__future__r   r   typingr   r   r   r   pydanticr   wandb._pydanticr	   r
   r   enumsr   r   r   r   r    r'   r+   r4   r7   r;   rA   rF   rG   rM   rP   rT   rU   r`   ra   model_rebuildr   r   r   r   <module>   sf   	
