wandb 0.22.1__py3-none-win32.whl → 0.22.3__py3-none-win32.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wandb/__init__.py +1 -1
 - wandb/__init__.pyi +7 -4
 - wandb/_pydantic/__init__.py +8 -1
 - wandb/_pydantic/base.py +54 -18
 - wandb/_pydantic/field_types.py +8 -3
 - wandb/_pydantic/pagination.py +46 -0
 - wandb/_pydantic/utils.py +2 -2
 - wandb/apis/public/api.py +24 -19
 - wandb/apis/public/artifacts.py +259 -270
 - wandb/apis/public/registries/_utils.py +40 -54
 - wandb/apis/public/registries/registries_search.py +70 -85
 - wandb/apis/public/registries/registry.py +173 -156
 - wandb/apis/public/runs.py +27 -6
 - wandb/apis/public/utils.py +43 -20
 - wandb/automations/_generated/create_automation.py +2 -2
 - wandb/automations/_generated/create_generic_webhook_integration.py +4 -4
 - wandb/automations/_generated/delete_automation.py +2 -2
 - wandb/automations/_generated/fragments.py +31 -52
 - wandb/automations/_generated/generic_webhook_integrations_by_entity.py +3 -3
 - wandb/automations/_generated/get_automations.py +3 -3
 - wandb/automations/_generated/get_automations_by_entity.py +3 -3
 - wandb/automations/_generated/input_types.py +9 -9
 - wandb/automations/_generated/integrations_by_entity.py +3 -3
 - wandb/automations/_generated/operations.py +6 -6
 - wandb/automations/_generated/slack_integrations_by_entity.py +3 -3
 - wandb/automations/_generated/update_automation.py +2 -2
 - wandb/automations/_utils.py +3 -3
 - wandb/automations/actions.py +3 -3
 - wandb/automations/automations.py +6 -5
 - wandb/bin/gpu_stats.exe +0 -0
 - wandb/bin/wandb-core +0 -0
 - wandb/cli/beta.py +23 -3
 - wandb/cli/beta_leet.py +75 -0
 - wandb/cli/beta_sync.py +1 -1
 - wandb/cli/cli.py +34 -7
 - wandb/errors/term.py +8 -8
 - wandb/jupyter.py +0 -51
 - wandb/old/settings.py +6 -6
 - wandb/proto/v3/wandb_api_pb2.py +86 -0
 - wandb/proto/v3/wandb_server_pb2.py +38 -37
 - wandb/proto/v3/wandb_settings_pb2.py +2 -2
 - wandb/proto/v3/wandb_sync_pb2.py +19 -6
 - wandb/proto/v4/wandb_api_pb2.py +37 -0
 - wandb/proto/v4/wandb_server_pb2.py +38 -37
 - wandb/proto/v4/wandb_settings_pb2.py +2 -2
 - wandb/proto/v4/wandb_sync_pb2.py +10 -6
 - wandb/proto/v5/wandb_api_pb2.py +38 -0
 - wandb/proto/v5/wandb_server_pb2.py +38 -37
 - wandb/proto/v5/wandb_settings_pb2.py +2 -2
 - wandb/proto/v5/wandb_sync_pb2.py +10 -6
 - wandb/proto/v6/wandb_api_pb2.py +48 -0
 - wandb/proto/v6/wandb_server_pb2.py +38 -37
 - wandb/proto/v6/wandb_settings_pb2.py +2 -2
 - wandb/proto/v6/wandb_sync_pb2.py +10 -6
 - wandb/proto/wandb_api_pb2.py +18 -0
 - wandb/proto/wandb_generate_proto.py +1 -0
 - wandb/sdk/artifacts/_generated/__init__.py +96 -40
 - wandb/sdk/artifacts/_generated/add_aliases.py +3 -3
 - wandb/sdk/artifacts/_generated/add_artifact_collection_tags.py +26 -0
 - wandb/sdk/artifacts/_generated/artifact_by_id.py +2 -2
 - wandb/sdk/artifacts/_generated/artifact_by_name.py +3 -3
 - wandb/sdk/artifacts/_generated/artifact_collection_membership_file_urls.py +27 -8
 - wandb/sdk/artifacts/_generated/artifact_collection_membership_files.py +27 -8
 - wandb/sdk/artifacts/_generated/artifact_created_by.py +7 -20
 - wandb/sdk/artifacts/_generated/artifact_file_urls.py +19 -6
 - wandb/sdk/artifacts/_generated/artifact_membership_by_name.py +26 -0
 - wandb/sdk/artifacts/_generated/artifact_type.py +5 -5
 - wandb/sdk/artifacts/_generated/artifact_used_by.py +8 -17
 - wandb/sdk/artifacts/_generated/artifact_version_files.py +19 -8
 - wandb/sdk/artifacts/_generated/delete_aliases.py +3 -3
 - wandb/sdk/artifacts/_generated/delete_artifact.py +4 -4
 - wandb/sdk/artifacts/_generated/delete_artifact_collection_tags.py +23 -0
 - wandb/sdk/artifacts/_generated/delete_artifact_portfolio.py +4 -4
 - wandb/sdk/artifacts/_generated/delete_artifact_sequence.py +4 -4
 - wandb/sdk/artifacts/_generated/delete_registry.py +21 -0
 - wandb/sdk/artifacts/_generated/fetch_artifact_manifest.py +8 -20
 - wandb/sdk/artifacts/_generated/fetch_linked_artifacts.py +13 -35
 - wandb/sdk/artifacts/_generated/fetch_org_info_from_entity.py +28 -0
 - wandb/sdk/artifacts/_generated/fetch_registries.py +18 -8
 - wandb/sdk/{projects → artifacts}/_generated/fetch_registry.py +4 -4
 - wandb/sdk/artifacts/_generated/fragments.py +183 -333
 - wandb/sdk/artifacts/_generated/input_types.py +133 -7
 - wandb/sdk/artifacts/_generated/link_artifact.py +5 -5
 - wandb/sdk/artifacts/_generated/operations.py +1053 -548
 - wandb/sdk/artifacts/_generated/project_artifact_collection.py +9 -77
 - wandb/sdk/artifacts/_generated/project_artifact_collections.py +21 -9
 - wandb/sdk/artifacts/_generated/project_artifact_type.py +3 -3
 - wandb/sdk/artifacts/_generated/project_artifact_types.py +19 -6
 - wandb/sdk/artifacts/_generated/project_artifacts.py +7 -8
 - wandb/sdk/artifacts/_generated/registry_collections.py +21 -9
 - wandb/sdk/artifacts/_generated/registry_versions.py +20 -9
 - wandb/sdk/artifacts/_generated/rename_registry.py +25 -0
 - wandb/sdk/artifacts/_generated/run_input_artifacts.py +5 -9
 - wandb/sdk/artifacts/_generated/run_output_artifacts.py +5 -9
 - wandb/sdk/artifacts/_generated/type_info.py +2 -2
 - wandb/sdk/artifacts/_generated/unlink_artifact.py +3 -5
 - wandb/sdk/artifacts/_generated/update_artifact.py +3 -3
 - wandb/sdk/artifacts/_generated/update_artifact_collection_type.py +28 -0
 - wandb/sdk/artifacts/_generated/update_artifact_portfolio.py +7 -16
 - wandb/sdk/artifacts/_generated/update_artifact_sequence.py +7 -16
 - wandb/sdk/artifacts/_generated/upsert_registry.py +25 -0
 - wandb/sdk/artifacts/_gqlutils.py +170 -6
 - wandb/sdk/artifacts/_models/__init__.py +9 -0
 - wandb/sdk/artifacts/_models/artifact_collection.py +109 -0
 - wandb/sdk/artifacts/_models/manifest.py +26 -0
 - wandb/sdk/artifacts/_models/pagination.py +26 -0
 - wandb/sdk/artifacts/_models/registry.py +100 -0
 - wandb/sdk/artifacts/_validators.py +45 -27
 - wandb/sdk/artifacts/artifact.py +249 -244
 - wandb/sdk/artifacts/artifact_file_cache.py +1 -1
 - wandb/sdk/artifacts/artifact_manifest.py +37 -32
 - wandb/sdk/artifacts/artifact_manifest_entry.py +82 -133
 - wandb/sdk/artifacts/artifact_manifests/artifact_manifest_v1.py +43 -61
 - wandb/sdk/artifacts/storage_handler.py +18 -12
 - wandb/sdk/artifacts/storage_handlers/azure_handler.py +11 -6
 - wandb/sdk/artifacts/storage_handlers/gcs_handler.py +17 -12
 - wandb/sdk/artifacts/storage_handlers/http_handler.py +9 -4
 - wandb/sdk/artifacts/storage_handlers/local_file_handler.py +10 -6
 - wandb/sdk/artifacts/storage_handlers/multi_handler.py +5 -4
 - wandb/sdk/artifacts/storage_handlers/s3_handler.py +10 -8
 - wandb/sdk/artifacts/storage_handlers/tracking_handler.py +6 -4
 - wandb/sdk/artifacts/storage_handlers/wb_artifact_handler.py +24 -21
 - wandb/sdk/artifacts/storage_handlers/wb_local_artifact_handler.py +4 -2
 - wandb/sdk/artifacts/storage_policies/_multipart.py +187 -0
 - wandb/sdk/artifacts/storage_policies/wandb_storage_policy.py +61 -242
 - wandb/sdk/artifacts/storage_policy.py +25 -12
 - wandb/sdk/data_types/image.py +2 -2
 - wandb/sdk/data_types/object_3d.py +67 -2
 - wandb/sdk/interface/interface.py +72 -64
 - wandb/sdk/interface/interface_queue.py +27 -18
 - wandb/sdk/interface/interface_shared.py +61 -23
 - wandb/sdk/interface/interface_sock.py +9 -5
 - wandb/sdk/internal/_generated/server_features_query.py +4 -4
 - wandb/sdk/internal/job_builder.py +27 -10
 - wandb/sdk/internal/sender.py +4 -1
 - wandb/sdk/launch/create_job.py +2 -1
 - wandb/sdk/launch/inputs/schema.py +13 -10
 - wandb/sdk/lib/apikey.py +8 -12
 - wandb/sdk/lib/asyncio_compat.py +1 -1
 - wandb/sdk/lib/asyncio_manager.py +5 -5
 - wandb/sdk/lib/console_capture.py +38 -30
 - wandb/sdk/lib/progress.py +151 -125
 - wandb/sdk/lib/retry.py +3 -2
 - wandb/sdk/lib/service/service_connection.py +2 -2
 - wandb/sdk/lib/wb_logging.py +2 -1
 - wandb/sdk/mailbox/mailbox.py +1 -1
 - wandb/sdk/wandb_init.py +11 -14
 - wandb/sdk/wandb_run.py +14 -48
 - wandb/sdk/wandb_settings.py +114 -30
 - {wandb-0.22.1.dist-info → wandb-0.22.3.dist-info}/METADATA +2 -1
 - {wandb-0.22.1.dist-info → wandb-0.22.3.dist-info}/RECORD +154 -146
 - wandb/sdk/artifacts/_generated/artifact_via_membership_by_name.py +0 -26
 - wandb/sdk/artifacts/_generated/create_artifact_collection_tag_assignments.py +0 -36
 - wandb/sdk/artifacts/_generated/delete_artifact_collection_tag_assignments.py +0 -25
 - wandb/sdk/artifacts/_generated/move_artifact_collection.py +0 -35
 - wandb/sdk/projects/_generated/__init__.py +0 -26
 - wandb/sdk/projects/_generated/delete_project.py +0 -22
 - wandb/sdk/projects/_generated/enums.py +0 -4
 - wandb/sdk/projects/_generated/fragments.py +0 -41
 - wandb/sdk/projects/_generated/input_types.py +0 -13
 - wandb/sdk/projects/_generated/operations.py +0 -88
 - wandb/sdk/projects/_generated/rename_project.py +0 -27
 - wandb/sdk/projects/_generated/upsert_registry_project.py +0 -27
 - {wandb-0.22.1.dist-info → wandb-0.22.3.dist-info}/WHEEL +0 -0
 - {wandb-0.22.1.dist-info → wandb-0.22.3.dist-info}/entry_points.txt +0 -0
 - {wandb-0.22.1.dist-info → wandb-0.22.3.dist-info}/licenses/LICENSE +0 -0
 
| 
         @@ -3,99 +3,31 @@ 
     | 
|
| 
       3 
3 
     | 
    
         | 
| 
       4 
4 
     | 
    
         
             
            from __future__ import annotations
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
     | 
    
         
            -
            from typing import  
     | 
| 
      
 6 
     | 
    
         
            +
            from typing import Optional
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            from pydantic import Field
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            from wandb._pydantic import  
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
      
 12 
     | 
    
         
            +
            from .fragments import ArtifactCollectionFragment
         
     | 
| 
       12 
13 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            class ProjectArtifactCollection(GQLResult):
         
     | 
| 
       14 
16 
     | 
    
         
             
                project: Optional[ProjectArtifactCollectionProject]
         
     | 
| 
       15 
17 
     | 
    
         | 
| 
       16 
18 
     | 
    
         | 
| 
       17 
     | 
    
         
            -
            class ProjectArtifactCollectionProject( 
     | 
| 
      
 19 
     | 
    
         
            +
            class ProjectArtifactCollectionProject(GQLResult):
         
     | 
| 
       18 
20 
     | 
    
         
             
                artifact_type: Optional[ProjectArtifactCollectionProjectArtifactType] = Field(
         
     | 
| 
       19 
21 
     | 
    
         
             
                    alias="artifactType"
         
     | 
| 
       20 
22 
     | 
    
         
             
                )
         
     | 
| 
       21 
23 
     | 
    
         | 
| 
       22 
24 
     | 
    
         | 
| 
       23 
     | 
    
         
            -
            class ProjectArtifactCollectionProjectArtifactType( 
     | 
| 
       24 
     | 
    
         
            -
                artifact_collection: Optional[
         
     | 
| 
       25 
     | 
    
         
            -
                     
     | 
| 
       26 
     | 
    
         
            -
                ] = Field(alias="artifactCollection")
         
     | 
| 
       27 
     | 
    
         
            -
                artifact_sequence: Optional[
         
     | 
| 
       28 
     | 
    
         
            -
                    ProjectArtifactCollectionProjectArtifactTypeArtifactSequence
         
     | 
| 
       29 
     | 
    
         
            -
                ] = Field(alias="artifactSequence")
         
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
            class ProjectArtifactCollectionProjectArtifactTypeArtifactCollection(GQLBase):
         
     | 
| 
       33 
     | 
    
         
            -
                typename__: Typename[
         
     | 
| 
       34 
     | 
    
         
            -
                    Literal["ArtifactCollection", "ArtifactPortfolio", "ArtifactSequence"]
         
     | 
| 
       35 
     | 
    
         
            -
                ]
         
     | 
| 
       36 
     | 
    
         
            -
                id: GQLId
         
     | 
| 
       37 
     | 
    
         
            -
                name: str
         
     | 
| 
       38 
     | 
    
         
            -
                description: Optional[str]
         
     | 
| 
       39 
     | 
    
         
            -
                created_at: str = Field(alias="createdAt")
         
     | 
| 
       40 
     | 
    
         
            -
                tags: ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionTags
         
     | 
| 
       41 
     | 
    
         
            -
                aliases: ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionAliases
         
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
             
     | 
| 
       44 
     | 
    
         
            -
            class ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionTags(GQLBase):
         
     | 
| 
       45 
     | 
    
         
            -
                edges: List[ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionTagsEdges]
         
     | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
            class ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionTagsEdges(GQLBase):
         
     | 
| 
       49 
     | 
    
         
            -
                node: ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionTagsEdgesNode
         
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
            class ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionTagsEdgesNode(
         
     | 
| 
       53 
     | 
    
         
            -
                GQLBase
         
     | 
| 
       54 
     | 
    
         
            -
            ):
         
     | 
| 
       55 
     | 
    
         
            -
                id: GQLId
         
     | 
| 
       56 
     | 
    
         
            -
                name: str
         
     | 
| 
       57 
     | 
    
         
            -
             
     | 
| 
       58 
     | 
    
         
            -
             
     | 
| 
       59 
     | 
    
         
            -
            class ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionAliases(GQLBase):
         
     | 
| 
       60 
     | 
    
         
            -
                edges: List[
         
     | 
| 
       61 
     | 
    
         
            -
                    ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionAliasesEdges
         
     | 
| 
       62 
     | 
    
         
            -
                ]
         
     | 
| 
       63 
     | 
    
         
            -
                page_info: ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionAliasesPageInfo = Field(
         
     | 
| 
       64 
     | 
    
         
            -
                    alias="pageInfo"
         
     | 
| 
      
 25 
     | 
    
         
            +
            class ProjectArtifactCollectionProjectArtifactType(GQLResult):
         
     | 
| 
      
 26 
     | 
    
         
            +
                artifact_collection: Optional[ArtifactCollectionFragment] = Field(
         
     | 
| 
      
 27 
     | 
    
         
            +
                    alias="artifactCollection"
         
     | 
| 
       65 
28 
     | 
    
         
             
                )
         
     | 
| 
       66 
29 
     | 
    
         | 
| 
       67 
30 
     | 
    
         | 
| 
       68 
     | 
    
         
            -
            class ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionAliasesEdges(
         
     | 
| 
       69 
     | 
    
         
            -
                GQLBase
         
     | 
| 
       70 
     | 
    
         
            -
            ):
         
     | 
| 
       71 
     | 
    
         
            -
                node: Optional[
         
     | 
| 
       72 
     | 
    
         
            -
                    ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionAliasesEdgesNode
         
     | 
| 
       73 
     | 
    
         
            -
                ]
         
     | 
| 
       74 
     | 
    
         
            -
                cursor: str
         
     | 
| 
       75 
     | 
    
         
            -
             
     | 
| 
       76 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
            class ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionAliasesEdgesNode(
         
     | 
| 
       78 
     | 
    
         
            -
                GQLBase
         
     | 
| 
       79 
     | 
    
         
            -
            ):
         
     | 
| 
       80 
     | 
    
         
            -
                alias: str
         
     | 
| 
       81 
     | 
    
         
            -
             
     | 
| 
       82 
     | 
    
         
            -
             
     | 
| 
       83 
     | 
    
         
            -
            class ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionAliasesPageInfo(
         
     | 
| 
       84 
     | 
    
         
            -
                GQLBase
         
     | 
| 
       85 
     | 
    
         
            -
            ):
         
     | 
| 
       86 
     | 
    
         
            -
                end_cursor: Optional[str] = Field(alias="endCursor")
         
     | 
| 
       87 
     | 
    
         
            -
                has_next_page: bool = Field(alias="hasNextPage")
         
     | 
| 
       88 
     | 
    
         
            -
             
     | 
| 
       89 
     | 
    
         
            -
             
     | 
| 
       90 
     | 
    
         
            -
            class ProjectArtifactCollectionProjectArtifactTypeArtifactSequence(GQLBase):
         
     | 
| 
       91 
     | 
    
         
            -
                typename__: Typename[Literal["ArtifactSequence"]]
         
     | 
| 
       92 
     | 
    
         
            -
             
     | 
| 
       93 
     | 
    
         
            -
             
     | 
| 
       94 
31 
     | 
    
         
             
            ProjectArtifactCollection.model_rebuild()
         
     | 
| 
       95 
32 
     | 
    
         
             
            ProjectArtifactCollectionProject.model_rebuild()
         
     | 
| 
       96 
33 
     | 
    
         
             
            ProjectArtifactCollectionProjectArtifactType.model_rebuild()
         
     | 
| 
       97 
     | 
    
         
            -
            ProjectArtifactCollectionProjectArtifactTypeArtifactCollection.model_rebuild()
         
     | 
| 
       98 
     | 
    
         
            -
            ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionTags.model_rebuild()
         
     | 
| 
       99 
     | 
    
         
            -
            ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionTagsEdges.model_rebuild()
         
     | 
| 
       100 
     | 
    
         
            -
            ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionAliases.model_rebuild()
         
     | 
| 
       101 
     | 
    
         
            -
            ProjectArtifactCollectionProjectArtifactTypeArtifactCollectionAliasesEdges.model_rebuild()
         
     | 
| 
         @@ -3,31 +3,43 @@ 
     | 
|
| 
       3 
3 
     | 
    
         | 
| 
       4 
4 
     | 
    
         
             
            from __future__ import annotations
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
     | 
    
         
            -
            from typing import Optional
         
     | 
| 
      
 6 
     | 
    
         
            +
            from typing import List, Optional
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            from pydantic import Field
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            from wandb._pydantic import  
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
     | 
    
         
            -
            from .fragments import  
     | 
| 
      
 12 
     | 
    
         
            +
            from .fragments import ArtifactCollectionFragment, PageInfoFragment
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            class ProjectArtifactCollections( 
     | 
| 
      
 15 
     | 
    
         
            +
            class ProjectArtifactCollections(GQLResult):
         
     | 
| 
       16 
16 
     | 
    
         
             
                project: Optional[ProjectArtifactCollectionsProject]
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            class ProjectArtifactCollectionsProject( 
     | 
| 
      
 19 
     | 
    
         
            +
            class ProjectArtifactCollectionsProject(GQLResult):
         
     | 
| 
       20 
20 
     | 
    
         
             
                artifact_type: Optional[ProjectArtifactCollectionsProjectArtifactType] = Field(
         
     | 
| 
       21 
21 
     | 
    
         
             
                    alias="artifactType"
         
     | 
| 
       22 
22 
     | 
    
         
             
                )
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         | 
| 
       25 
     | 
    
         
            -
            class ProjectArtifactCollectionsProjectArtifactType( 
     | 
| 
       26 
     | 
    
         
            -
                artifact_collections: Optional[ 
     | 
| 
       27 
     | 
    
         
            -
                     
     | 
| 
       28 
     | 
    
         
            -
                )
         
     | 
| 
      
 25 
     | 
    
         
            +
            class ProjectArtifactCollectionsProjectArtifactType(GQLResult):
         
     | 
| 
      
 26 
     | 
    
         
            +
                artifact_collections: Optional[
         
     | 
| 
      
 27 
     | 
    
         
            +
                    ProjectArtifactCollectionsProjectArtifactTypeArtifactCollections
         
     | 
| 
      
 28 
     | 
    
         
            +
                ] = Field(alias="artifactCollections")
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
            class ProjectArtifactCollectionsProjectArtifactTypeArtifactCollections(GQLResult):
         
     | 
| 
      
 32 
     | 
    
         
            +
                total_count: int = Field(alias="totalCount")
         
     | 
| 
      
 33 
     | 
    
         
            +
                page_info: PageInfoFragment = Field(alias="pageInfo")
         
     | 
| 
      
 34 
     | 
    
         
            +
                edges: List[ProjectArtifactCollectionsProjectArtifactTypeArtifactCollectionsEdges]
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
            class ProjectArtifactCollectionsProjectArtifactTypeArtifactCollectionsEdges(GQLResult):
         
     | 
| 
      
 38 
     | 
    
         
            +
                node: Optional[ArtifactCollectionFragment]
         
     | 
| 
       29 
39 
     | 
    
         | 
| 
       30 
40 
     | 
    
         | 
| 
       31 
41 
     | 
    
         
             
            ProjectArtifactCollections.model_rebuild()
         
     | 
| 
       32 
42 
     | 
    
         
             
            ProjectArtifactCollectionsProject.model_rebuild()
         
     | 
| 
       33 
43 
     | 
    
         
             
            ProjectArtifactCollectionsProjectArtifactType.model_rebuild()
         
     | 
| 
      
 44 
     | 
    
         
            +
            ProjectArtifactCollectionsProjectArtifactTypeArtifactCollections.model_rebuild()
         
     | 
| 
      
 45 
     | 
    
         
            +
            ProjectArtifactCollectionsProjectArtifactTypeArtifactCollectionsEdges.model_rebuild()
         
     | 
| 
         @@ -7,16 +7,16 @@ from typing import Optional 
     | 
|
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            from pydantic import Field
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            from wandb._pydantic import  
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
            from .fragments import ArtifactTypeFragment
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            class ProjectArtifactType( 
     | 
| 
      
 15 
     | 
    
         
            +
            class ProjectArtifactType(GQLResult):
         
     | 
| 
       16 
16 
     | 
    
         
             
                project: Optional[ProjectArtifactTypeProject]
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            class ProjectArtifactTypeProject( 
     | 
| 
      
 19 
     | 
    
         
            +
            class ProjectArtifactTypeProject(GQLResult):
         
     | 
| 
       20 
20 
     | 
    
         
             
                artifact_type: Optional[ArtifactTypeFragment] = Field(alias="artifactType")
         
     | 
| 
       21 
21 
     | 
    
         | 
| 
       22 
22 
     | 
    
         | 
| 
         @@ -3,22 +3,35 @@ 
     | 
|
| 
       3 
3 
     | 
    
         | 
| 
       4 
4 
     | 
    
         
             
            from __future__ import annotations
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
     | 
    
         
            -
            from typing import Optional
         
     | 
| 
      
 6 
     | 
    
         
            +
            from typing import List, Optional
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            from pydantic import Field
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            from wandb._pydantic import  
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
     | 
    
         
            -
            from .fragments import  
     | 
| 
      
 12 
     | 
    
         
            +
            from .fragments import ArtifactTypeFragment, PageInfoFragment
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            class ProjectArtifactTypes( 
     | 
| 
      
 15 
     | 
    
         
            +
            class ProjectArtifactTypes(GQLResult):
         
     | 
| 
       16 
16 
     | 
    
         
             
                project: Optional[ProjectArtifactTypesProject]
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            class ProjectArtifactTypesProject( 
     | 
| 
       20 
     | 
    
         
            -
                artifact_types:  
     | 
| 
      
 19 
     | 
    
         
            +
            class ProjectArtifactTypesProject(GQLResult):
         
     | 
| 
      
 20 
     | 
    
         
            +
                artifact_types: ProjectArtifactTypesProjectArtifactTypes = Field(
         
     | 
| 
      
 21 
     | 
    
         
            +
                    alias="artifactTypes"
         
     | 
| 
      
 22 
     | 
    
         
            +
                )
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
            class ProjectArtifactTypesProjectArtifactTypes(GQLResult):
         
     | 
| 
      
 26 
     | 
    
         
            +
                edges: List[ProjectArtifactTypesProjectArtifactTypesEdges]
         
     | 
| 
      
 27 
     | 
    
         
            +
                page_info: PageInfoFragment = Field(alias="pageInfo")
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            class ProjectArtifactTypesProjectArtifactTypesEdges(GQLResult):
         
     | 
| 
      
 31 
     | 
    
         
            +
                node: Optional[ArtifactTypeFragment]
         
     | 
| 
       21 
32 
     | 
    
         | 
| 
       22 
33 
     | 
    
         | 
| 
       23 
34 
     | 
    
         
             
            ProjectArtifactTypes.model_rebuild()
         
     | 
| 
       24 
35 
     | 
    
         
             
            ProjectArtifactTypesProject.model_rebuild()
         
     | 
| 
      
 36 
     | 
    
         
            +
            ProjectArtifactTypesProjectArtifactTypes.model_rebuild()
         
     | 
| 
      
 37 
     | 
    
         
            +
            ProjectArtifactTypesProjectArtifactTypesEdges.model_rebuild()
         
     | 
| 
         @@ -7,33 +7,32 @@ from typing import Literal, Optional 
     | 
|
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            from pydantic import Field
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            from wandb._pydantic import  
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult, Typename
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
     | 
    
         
            -
            from .fragments import  
     | 
| 
      
 12 
     | 
    
         
            +
            from .fragments import VersionedArtifactConnectionFragment
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            class ProjectArtifacts( 
     | 
| 
      
 15 
     | 
    
         
            +
            class ProjectArtifacts(GQLResult):
         
     | 
| 
       16 
16 
     | 
    
         
             
                project: Optional[ProjectArtifactsProject]
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            class ProjectArtifactsProject( 
     | 
| 
      
 19 
     | 
    
         
            +
            class ProjectArtifactsProject(GQLResult):
         
     | 
| 
       20 
20 
     | 
    
         
             
                artifact_type: Optional[ProjectArtifactsProjectArtifactType] = Field(
         
     | 
| 
       21 
21 
     | 
    
         
             
                    alias="artifactType"
         
     | 
| 
       22 
22 
     | 
    
         
             
                )
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         | 
| 
       25 
     | 
    
         
            -
            class ProjectArtifactsProjectArtifactType( 
     | 
| 
      
 25 
     | 
    
         
            +
            class ProjectArtifactsProjectArtifactType(GQLResult):
         
     | 
| 
       26 
26 
     | 
    
         
             
                artifact_collection: Optional[
         
     | 
| 
       27 
27 
     | 
    
         
             
                    ProjectArtifactsProjectArtifactTypeArtifactCollection
         
     | 
| 
       28 
28 
     | 
    
         
             
                ] = Field(alias="artifactCollection")
         
     | 
| 
       29 
29 
     | 
    
         | 
| 
       30 
30 
     | 
    
         | 
| 
       31 
     | 
    
         
            -
            class ProjectArtifactsProjectArtifactTypeArtifactCollection( 
     | 
| 
      
 31 
     | 
    
         
            +
            class ProjectArtifactsProjectArtifactTypeArtifactCollection(GQLResult):
         
     | 
| 
       32 
32 
     | 
    
         
             
                typename__: Typename[
         
     | 
| 
       33 
33 
     | 
    
         
             
                    Literal["ArtifactCollection", "ArtifactPortfolio", "ArtifactSequence"]
         
     | 
| 
       34 
34 
     | 
    
         
             
                ]
         
     | 
| 
       35 
     | 
    
         
            -
                 
     | 
| 
       36 
     | 
    
         
            -
                artifacts: Optional[ArtifactsFragment]
         
     | 
| 
      
 35 
     | 
    
         
            +
                artifacts: Optional[VersionedArtifactConnectionFragment]
         
     | 
| 
       37 
36 
     | 
    
         | 
| 
       38 
37 
     | 
    
         | 
| 
       39 
38 
     | 
    
         
             
            ProjectArtifacts.model_rebuild()
         
     | 
| 
         @@ -3,32 +3,44 @@ 
     | 
|
| 
       3 
3 
     | 
    
         | 
| 
       4 
4 
     | 
    
         
             
            from __future__ import annotations
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
     | 
    
         
            -
            from typing import Optional
         
     | 
| 
      
 6 
     | 
    
         
            +
            from typing import List, Optional
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            from pydantic import Field
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            from wandb._pydantic import  
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
     | 
    
         
            -
            from .fragments import  
     | 
| 
      
 12 
     | 
    
         
            +
            from .fragments import PageInfoFragment, RegistryCollectionFragment
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            class RegistryCollections( 
     | 
| 
      
 15 
     | 
    
         
            +
            class RegistryCollections(GQLResult):
         
     | 
| 
       16 
16 
     | 
    
         
             
                organization: Optional[RegistryCollectionsOrganization]
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            class RegistryCollectionsOrganization( 
     | 
| 
      
 19 
     | 
    
         
            +
            class RegistryCollectionsOrganization(GQLResult):
         
     | 
| 
       20 
20 
     | 
    
         
             
                org_entity: Optional[RegistryCollectionsOrganizationOrgEntity] = Field(
         
     | 
| 
       21 
21 
     | 
    
         
             
                    alias="orgEntity"
         
     | 
| 
       22 
22 
     | 
    
         
             
                )
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         | 
| 
       25 
     | 
    
         
            -
            class RegistryCollectionsOrganizationOrgEntity( 
     | 
| 
      
 25 
     | 
    
         
            +
            class RegistryCollectionsOrganizationOrgEntity(GQLResult):
         
     | 
| 
       26 
26 
     | 
    
         
             
                name: str
         
     | 
| 
       27 
     | 
    
         
            -
                artifact_collections: Optional[ 
     | 
| 
       28 
     | 
    
         
            -
                     
     | 
| 
       29 
     | 
    
         
            -
                )
         
     | 
| 
      
 27 
     | 
    
         
            +
                artifact_collections: Optional[
         
     | 
| 
      
 28 
     | 
    
         
            +
                    RegistryCollectionsOrganizationOrgEntityArtifactCollections
         
     | 
| 
      
 29 
     | 
    
         
            +
                ] = Field(alias="artifactCollections")
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
            class RegistryCollectionsOrganizationOrgEntityArtifactCollections(GQLResult):
         
     | 
| 
      
 33 
     | 
    
         
            +
                total_count: int = Field(alias="totalCount")
         
     | 
| 
      
 34 
     | 
    
         
            +
                page_info: PageInfoFragment = Field(alias="pageInfo")
         
     | 
| 
      
 35 
     | 
    
         
            +
                edges: List[RegistryCollectionsOrganizationOrgEntityArtifactCollectionsEdges]
         
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
            class RegistryCollectionsOrganizationOrgEntityArtifactCollectionsEdges(GQLResult):
         
     | 
| 
      
 39 
     | 
    
         
            +
                node: Optional[RegistryCollectionFragment]
         
     | 
| 
       30 
40 
     | 
    
         | 
| 
       31 
41 
     | 
    
         | 
| 
       32 
42 
     | 
    
         
             
            RegistryCollections.model_rebuild()
         
     | 
| 
       33 
43 
     | 
    
         
             
            RegistryCollectionsOrganization.model_rebuild()
         
     | 
| 
       34 
44 
     | 
    
         
             
            RegistryCollectionsOrganizationOrgEntity.model_rebuild()
         
     | 
| 
      
 45 
     | 
    
         
            +
            RegistryCollectionsOrganizationOrgEntityArtifactCollections.model_rebuild()
         
     | 
| 
      
 46 
     | 
    
         
            +
            RegistryCollectionsOrganizationOrgEntityArtifactCollectionsEdges.model_rebuild()
         
     | 
| 
         @@ -3,32 +3,43 @@ 
     | 
|
| 
       3 
3 
     | 
    
         | 
| 
       4 
4 
     | 
    
         
             
            from __future__ import annotations
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
     | 
    
         
            -
            from typing import Optional
         
     | 
| 
      
 6 
     | 
    
         
            +
            from typing import List, Optional
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            from pydantic import Field
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            from wandb._pydantic import  
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
     | 
    
         
            -
            from .fragments import  
     | 
| 
      
 12 
     | 
    
         
            +
            from .fragments import ArtifactMembershipFragment, PageInfoFragment
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            class RegistryVersions( 
     | 
| 
      
 15 
     | 
    
         
            +
            class RegistryVersions(GQLResult):
         
     | 
| 
       16 
16 
     | 
    
         
             
                organization: Optional[RegistryVersionsOrganization]
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            class RegistryVersionsOrganization( 
     | 
| 
      
 19 
     | 
    
         
            +
            class RegistryVersionsOrganization(GQLResult):
         
     | 
| 
       20 
20 
     | 
    
         
             
                org_entity: Optional[RegistryVersionsOrganizationOrgEntity] = Field(
         
     | 
| 
       21 
21 
     | 
    
         
             
                    alias="orgEntity"
         
     | 
| 
       22 
22 
     | 
    
         
             
                )
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         | 
| 
       25 
     | 
    
         
            -
            class RegistryVersionsOrganizationOrgEntity( 
     | 
| 
      
 25 
     | 
    
         
            +
            class RegistryVersionsOrganizationOrgEntity(GQLResult):
         
     | 
| 
       26 
26 
     | 
    
         
             
                name: str
         
     | 
| 
       27 
     | 
    
         
            -
                artifact_memberships: Optional[ 
     | 
| 
       28 
     | 
    
         
            -
                     
     | 
| 
       29 
     | 
    
         
            -
                )
         
     | 
| 
      
 27 
     | 
    
         
            +
                artifact_memberships: Optional[
         
     | 
| 
      
 28 
     | 
    
         
            +
                    RegistryVersionsOrganizationOrgEntityArtifactMemberships
         
     | 
| 
      
 29 
     | 
    
         
            +
                ] = Field(alias="artifactMemberships")
         
     | 
| 
      
 30 
     | 
    
         
            +
             
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
            class RegistryVersionsOrganizationOrgEntityArtifactMemberships(GQLResult):
         
     | 
| 
      
 33 
     | 
    
         
            +
                page_info: PageInfoFragment = Field(alias="pageInfo")
         
     | 
| 
      
 34 
     | 
    
         
            +
                edges: List[RegistryVersionsOrganizationOrgEntityArtifactMembershipsEdges]
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
             
     | 
| 
      
 37 
     | 
    
         
            +
            class RegistryVersionsOrganizationOrgEntityArtifactMembershipsEdges(GQLResult):
         
     | 
| 
      
 38 
     | 
    
         
            +
                node: Optional[ArtifactMembershipFragment]
         
     | 
| 
       30 
39 
     | 
    
         | 
| 
       31 
40 
     | 
    
         | 
| 
       32 
41 
     | 
    
         
             
            RegistryVersions.model_rebuild()
         
     | 
| 
       33 
42 
     | 
    
         
             
            RegistryVersionsOrganization.model_rebuild()
         
     | 
| 
       34 
43 
     | 
    
         
             
            RegistryVersionsOrganizationOrgEntity.model_rebuild()
         
     | 
| 
      
 44 
     | 
    
         
            +
            RegistryVersionsOrganizationOrgEntityArtifactMemberships.model_rebuild()
         
     | 
| 
      
 45 
     | 
    
         
            +
            RegistryVersionsOrganizationOrgEntityArtifactMembershipsEdges.model_rebuild()
         
     | 
| 
         @@ -0,0 +1,25 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Generated by ariadne-codegen
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Source: tools/graphql_codegen/artifacts/
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            from __future__ import annotations
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            from typing import Optional
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            from pydantic import Field
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            from .fragments import RegistryFragment
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            class RenameRegistry(GQLResult):
         
     | 
| 
      
 16 
     | 
    
         
            +
                rename_project: Optional[RenameRegistryRenameProject] = Field(alias="renameProject")
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            class RenameRegistryRenameProject(GQLResult):
         
     | 
| 
      
 20 
     | 
    
         
            +
                inserted: Optional[bool]
         
     | 
| 
      
 21 
     | 
    
         
            +
                project: Optional[RegistryFragment]
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
            RenameRegistry.model_rebuild()
         
     | 
| 
      
 25 
     | 
    
         
            +
            RenameRegistryRenameProject.model_rebuild()
         
     | 
| 
         @@ -5,25 +5,21 @@ from __future__ import annotations 
     | 
|
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            from typing import Optional
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
            from  
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
            from wandb._pydantic import GQLBase
         
     | 
| 
      
 8 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
       11 
9 
     | 
    
         | 
| 
       12 
10 
     | 
    
         
             
            from .fragments import RunInputArtifactConnectionFragment
         
     | 
| 
       13 
11 
     | 
    
         | 
| 
       14 
12 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            class RunInputArtifacts( 
     | 
| 
      
 13 
     | 
    
         
            +
            class RunInputArtifacts(GQLResult):
         
     | 
| 
       16 
14 
     | 
    
         
             
                project: Optional[RunInputArtifactsProject]
         
     | 
| 
       17 
15 
     | 
    
         | 
| 
       18 
16 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            class RunInputArtifactsProject( 
     | 
| 
      
 17 
     | 
    
         
            +
            class RunInputArtifactsProject(GQLResult):
         
     | 
| 
       20 
18 
     | 
    
         
             
                run: Optional[RunInputArtifactsProjectRun]
         
     | 
| 
       21 
19 
     | 
    
         | 
| 
       22 
20 
     | 
    
         | 
| 
       23 
     | 
    
         
            -
            class RunInputArtifactsProjectRun( 
     | 
| 
       24 
     | 
    
         
            -
                 
     | 
| 
       25 
     | 
    
         
            -
                    alias="inputArtifacts"
         
     | 
| 
       26 
     | 
    
         
            -
                )
         
     | 
| 
      
 21 
     | 
    
         
            +
            class RunInputArtifactsProjectRun(GQLResult):
         
     | 
| 
      
 22 
     | 
    
         
            +
                artifacts: Optional[RunInputArtifactConnectionFragment]
         
     | 
| 
       27 
23 
     | 
    
         | 
| 
       28 
24 
     | 
    
         | 
| 
       29 
25 
     | 
    
         
             
            RunInputArtifacts.model_rebuild()
         
     | 
| 
         @@ -5,25 +5,21 @@ from __future__ import annotations 
     | 
|
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            from typing import Optional
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
            from  
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
            from wandb._pydantic import GQLBase
         
     | 
| 
      
 8 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
       11 
9 
     | 
    
         | 
| 
       12 
10 
     | 
    
         
             
            from .fragments import RunOutputArtifactConnectionFragment
         
     | 
| 
       13 
11 
     | 
    
         | 
| 
       14 
12 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            class RunOutputArtifacts( 
     | 
| 
      
 13 
     | 
    
         
            +
            class RunOutputArtifacts(GQLResult):
         
     | 
| 
       16 
14 
     | 
    
         
             
                project: Optional[RunOutputArtifactsProject]
         
     | 
| 
       17 
15 
     | 
    
         | 
| 
       18 
16 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            class RunOutputArtifactsProject( 
     | 
| 
      
 17 
     | 
    
         
            +
            class RunOutputArtifactsProject(GQLResult):
         
     | 
| 
       20 
18 
     | 
    
         
             
                run: Optional[RunOutputArtifactsProjectRun]
         
     | 
| 
       21 
19 
     | 
    
         | 
| 
       22 
20 
     | 
    
         | 
| 
       23 
     | 
    
         
            -
            class RunOutputArtifactsProjectRun( 
     | 
| 
       24 
     | 
    
         
            -
                 
     | 
| 
       25 
     | 
    
         
            -
                    alias="outputArtifacts"
         
     | 
| 
       26 
     | 
    
         
            -
                )
         
     | 
| 
      
 21 
     | 
    
         
            +
            class RunOutputArtifactsProjectRun(GQLResult):
         
     | 
| 
      
 22 
     | 
    
         
            +
                artifacts: Optional[RunOutputArtifactConnectionFragment]
         
     | 
| 
       27 
23 
     | 
    
         | 
| 
       28 
24 
     | 
    
         | 
| 
       29 
25 
     | 
    
         
             
            RunOutputArtifacts.model_rebuild()
         
     | 
| 
         @@ -7,12 +7,12 @@ from typing import Optional 
     | 
|
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            from pydantic import Field
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            from wandb._pydantic import  
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
            from .fragments import TypeInfoFragment
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            class TypeInfo( 
     | 
| 
      
 15 
     | 
    
         
            +
            class TypeInfo(GQLResult):
         
     | 
| 
       16 
16 
     | 
    
         
             
                type: Optional[TypeInfoFragment] = Field(alias="__type")
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         | 
| 
         @@ -7,19 +7,17 @@ from typing import Optional 
     | 
|
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            from pydantic import Field
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            from wandb._pydantic import  
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
            class UnlinkArtifact( 
     | 
| 
      
 13 
     | 
    
         
            +
            class UnlinkArtifact(GQLResult):
         
     | 
| 
       14 
14 
     | 
    
         
             
                unlink_artifact: Optional[UnlinkArtifactUnlinkArtifact] = Field(
         
     | 
| 
       15 
15 
     | 
    
         
             
                    alias="unlinkArtifact"
         
     | 
| 
       16 
16 
     | 
    
         
             
                )
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            class UnlinkArtifactUnlinkArtifact( 
     | 
| 
       20 
     | 
    
         
            -
                artifact_id: GQLId = Field(alias="artifactID")
         
     | 
| 
      
 19 
     | 
    
         
            +
            class UnlinkArtifactUnlinkArtifact(GQLResult):
         
     | 
| 
       21 
20 
     | 
    
         
             
                success: bool
         
     | 
| 
       22 
     | 
    
         
            -
                client_mutation_id: Optional[str] = Field(alias="clientMutationId")
         
     | 
| 
       23 
21 
     | 
    
         | 
| 
       24 
22 
     | 
    
         | 
| 
       25 
23 
     | 
    
         
             
            UnlinkArtifact.model_rebuild()
         
     | 
| 
         @@ -7,18 +7,18 @@ from typing import Optional 
     | 
|
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            from pydantic import Field
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            from wandb._pydantic import  
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
12 
     | 
    
         
             
            from .fragments import ArtifactFragment
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
     | 
    
         
            -
            class UpdateArtifact( 
     | 
| 
      
 15 
     | 
    
         
            +
            class UpdateArtifact(GQLResult):
         
     | 
| 
       16 
16 
     | 
    
         
             
                update_artifact: Optional[UpdateArtifactUpdateArtifact] = Field(
         
     | 
| 
       17 
17 
     | 
    
         
             
                    alias="updateArtifact"
         
     | 
| 
       18 
18 
     | 
    
         
             
                )
         
     | 
| 
       19 
19 
     | 
    
         | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
     | 
    
         
            -
            class UpdateArtifactUpdateArtifact( 
     | 
| 
      
 21 
     | 
    
         
            +
            class UpdateArtifactUpdateArtifact(GQLResult):
         
     | 
| 
       22 
22 
     | 
    
         
             
                artifact: ArtifactFragment
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         | 
| 
         @@ -0,0 +1,28 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Generated by ariadne-codegen
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Source: tools/graphql_codegen/artifacts/
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            from __future__ import annotations
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            from typing import Optional
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            from pydantic import Field
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            from .fragments import ArtifactCollectionSummary
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            class UpdateArtifactCollectionType(GQLResult):
         
     | 
| 
      
 16 
     | 
    
         
            +
                move_artifact_sequence: Optional[
         
     | 
| 
      
 17 
     | 
    
         
            +
                    UpdateArtifactCollectionTypeMoveArtifactSequence
         
     | 
| 
      
 18 
     | 
    
         
            +
                ] = Field(alias="moveArtifactSequence")
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            class UpdateArtifactCollectionTypeMoveArtifactSequence(GQLResult):
         
     | 
| 
      
 22 
     | 
    
         
            +
                artifact_collection: Optional[ArtifactCollectionSummary] = Field(
         
     | 
| 
      
 23 
     | 
    
         
            +
                    alias="artifactCollection"
         
     | 
| 
      
 24 
     | 
    
         
            +
                )
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
            UpdateArtifactCollectionType.model_rebuild()
         
     | 
| 
      
 28 
     | 
    
         
            +
            UpdateArtifactCollectionTypeMoveArtifactSequence.model_rebuild()
         
     | 
| 
         @@ -3,32 +3,23 @@ 
     | 
|
| 
       3 
3 
     | 
    
         | 
| 
       4 
4 
     | 
    
         
             
            from __future__ import annotations
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
     | 
    
         
            -
            from typing import  
     | 
| 
      
 6 
     | 
    
         
            +
            from typing import Optional
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            from pydantic import Field
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            from wandb._pydantic import  
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
      
 12 
     | 
    
         
            +
            from .fragments import ArtifactCollectionSummary
         
     | 
| 
       12 
13 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            class UpdateArtifactPortfolio(GQLResult):
         
     | 
| 
       14 
16 
     | 
    
         
             
                update_artifact_portfolio: Optional[
         
     | 
| 
       15 
17 
     | 
    
         
             
                    UpdateArtifactPortfolioUpdateArtifactPortfolio
         
     | 
| 
       16 
18 
     | 
    
         
             
                ] = Field(alias="updateArtifactPortfolio")
         
     | 
| 
       17 
19 
     | 
    
         | 
| 
       18 
20 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            class UpdateArtifactPortfolioUpdateArtifactPortfolio( 
     | 
| 
       20 
     | 
    
         
            -
                artifact_collection:  
     | 
| 
       21 
     | 
    
         
            -
                    alias="artifactCollection"
         
     | 
| 
       22 
     | 
    
         
            -
                )
         
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
            class UpdateArtifactPortfolioUpdateArtifactPortfolioArtifactCollection(GQLBase):
         
     | 
| 
       26 
     | 
    
         
            -
                typename__: Typename[
         
     | 
| 
       27 
     | 
    
         
            -
                    Literal["ArtifactCollection", "ArtifactPortfolio", "ArtifactSequence"]
         
     | 
| 
       28 
     | 
    
         
            -
                ]
         
     | 
| 
       29 
     | 
    
         
            -
                id: GQLId
         
     | 
| 
       30 
     | 
    
         
            -
                name: str
         
     | 
| 
       31 
     | 
    
         
            -
                description: Optional[str]
         
     | 
| 
      
 21 
     | 
    
         
            +
            class UpdateArtifactPortfolioUpdateArtifactPortfolio(GQLResult):
         
     | 
| 
      
 22 
     | 
    
         
            +
                artifact_collection: ArtifactCollectionSummary = Field(alias="artifactCollection")
         
     | 
| 
       32 
23 
     | 
    
         | 
| 
       33 
24 
     | 
    
         | 
| 
       34 
25 
     | 
    
         
             
            UpdateArtifactPortfolio.model_rebuild()
         
     | 
| 
         @@ -3,32 +3,23 @@ 
     | 
|
| 
       3 
3 
     | 
    
         | 
| 
       4 
4 
     | 
    
         
             
            from __future__ import annotations
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
     | 
    
         
            -
            from typing import  
     | 
| 
      
 6 
     | 
    
         
            +
            from typing import Optional
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
8 
     | 
    
         
             
            from pydantic import Field
         
     | 
| 
       9 
9 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
            from wandb._pydantic import  
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
      
 12 
     | 
    
         
            +
            from .fragments import ArtifactCollectionSummary
         
     | 
| 
       12 
13 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            class UpdateArtifactSequence(GQLResult):
         
     | 
| 
       14 
16 
     | 
    
         
             
                update_artifact_sequence: Optional[UpdateArtifactSequenceUpdateArtifactSequence] = (
         
     | 
| 
       15 
17 
     | 
    
         
             
                    Field(alias="updateArtifactSequence")
         
     | 
| 
       16 
18 
     | 
    
         
             
                )
         
     | 
| 
       17 
19 
     | 
    
         | 
| 
       18 
20 
     | 
    
         | 
| 
       19 
     | 
    
         
            -
            class UpdateArtifactSequenceUpdateArtifactSequence( 
     | 
| 
       20 
     | 
    
         
            -
                artifact_collection:  
     | 
| 
       21 
     | 
    
         
            -
                    alias="artifactCollection"
         
     | 
| 
       22 
     | 
    
         
            -
                )
         
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
            class UpdateArtifactSequenceUpdateArtifactSequenceArtifactCollection(GQLBase):
         
     | 
| 
       26 
     | 
    
         
            -
                typename__: Typename[
         
     | 
| 
       27 
     | 
    
         
            -
                    Literal["ArtifactCollection", "ArtifactPortfolio", "ArtifactSequence"]
         
     | 
| 
       28 
     | 
    
         
            -
                ]
         
     | 
| 
       29 
     | 
    
         
            -
                id: GQLId
         
     | 
| 
       30 
     | 
    
         
            -
                name: str
         
     | 
| 
       31 
     | 
    
         
            -
                description: Optional[str]
         
     | 
| 
      
 21 
     | 
    
         
            +
            class UpdateArtifactSequenceUpdateArtifactSequence(GQLResult):
         
     | 
| 
      
 22 
     | 
    
         
            +
                artifact_collection: ArtifactCollectionSummary = Field(alias="artifactCollection")
         
     | 
| 
       32 
23 
     | 
    
         | 
| 
       33 
24 
     | 
    
         | 
| 
       34 
25 
     | 
    
         
             
            UpdateArtifactSequence.model_rebuild()
         
     | 
| 
         @@ -0,0 +1,25 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Generated by ariadne-codegen
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Source: tools/graphql_codegen/artifacts/
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            from __future__ import annotations
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            from typing import Optional
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            from pydantic import Field
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            from wandb._pydantic import GQLResult
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            from .fragments import RegistryFragment
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            class UpsertRegistry(GQLResult):
         
     | 
| 
      
 16 
     | 
    
         
            +
                upsert_model: Optional[UpsertRegistryUpsertModel] = Field(alias="upsertModel")
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            class UpsertRegistryUpsertModel(GQLResult):
         
     | 
| 
      
 20 
     | 
    
         
            +
                inserted: Optional[bool]
         
     | 
| 
      
 21 
     | 
    
         
            +
                project: Optional[RegistryFragment]
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
      
 24 
     | 
    
         
            +
            UpsertRegistry.model_rebuild()
         
     | 
| 
      
 25 
     | 
    
         
            +
            UpsertRegistryUpsertModel.model_rebuild()
         
     |