get_automations.py 855 B

1234567891011121314151617181920212223242526272829303132333435
  1. # Generated by ariadne-codegen
  2. # Source: tools/graphql_codegen/automations/
  3. from __future__ import annotations
  4. from typing import List, Optional
  5. from pydantic import Field
  6. from wandb._pydantic import GQLResult
  7. from .fragments import PageInfoFields, ProjectTriggersFields
  8. class GetAutomations(GQLResult):
  9. scope: Optional[GetAutomationsScope]
  10. class GetAutomationsScope(GQLResult):
  11. projects: Optional[GetAutomationsScopeProjects]
  12. class GetAutomationsScopeProjects(GQLResult):
  13. page_info: PageInfoFields = Field(alias="pageInfo")
  14. edges: List[GetAutomationsScopeProjectsEdges]
  15. class GetAutomationsScopeProjectsEdges(GQLResult):
  16. node: Optional[ProjectTriggersFields]
  17. GetAutomations.model_rebuild()
  18. GetAutomationsScope.model_rebuild()
  19. GetAutomationsScopeProjects.model_rebuild()
  20. GetAutomationsScopeProjectsEdges.model_rebuild()