wandb 0.22.2__py3-none-win_arm64.whl → 0.22.3__py3-none-win_arm64.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 +2 -2
- 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 +8 -2
- wandb/cli/beta_leet.py +2 -1
- wandb/cli/beta_sync.py +1 -1
- wandb/errors/term.py +8 -8
- wandb/jupyter.py +0 -51
- wandb/old/settings.py +6 -6
- wandb/proto/v3/wandb_internal_pb2.py +351 -352
- 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_internal_pb2.py +351 -352
- 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_internal_pb2.py +351 -352
- 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_internal_pb2.py +351 -352
- 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/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 +220 -215
- wandb/sdk/artifacts/artifact_file_cache.py +1 -1
- wandb/sdk/artifacts/artifact_manifest.py +37 -32
- wandb/sdk/artifacts/artifact_manifest_entry.py +80 -125
- wandb/sdk/artifacts/artifact_manifests/artifact_manifest_v1.py +43 -61
- wandb/sdk/artifacts/storage_handlers/gcs_handler.py +8 -6
- wandb/sdk/data_types/image.py +2 -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/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 +159 -64
- 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 +10 -13
- wandb/sdk/wandb_run.py +9 -46
- wandb/sdk/wandb_settings.py +102 -19
- {wandb-0.22.2.dist-info → wandb-0.22.3.dist-info}/METADATA +2 -1
- {wandb-0.22.2.dist-info → wandb-0.22.3.dist-info}/RECORD +135 -134
- 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.2.dist-info → wandb-0.22.3.dist-info}/WHEEL +0 -0
- {wandb-0.22.2.dist-info → wandb-0.22.3.dist-info}/entry_points.txt +0 -0
- {wandb-0.22.2.dist-info → wandb-0.22.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -3,19 +3,105 @@
|
|
|
3
3
|
|
|
4
4
|
from __future__ import annotations
|
|
5
5
|
|
|
6
|
-
from typing import
|
|
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 GQLId, GQLInput
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
class
|
|
13
|
+
class UpsertModelInput(GQLInput):
|
|
14
|
+
name: Optional[str] = None
|
|
15
|
+
description: Optional[str] = None
|
|
16
|
+
id: Optional[str] = None
|
|
17
|
+
framework: Optional[str] = None
|
|
18
|
+
entity_name: Optional[str] = Field(alias="entityName", default=None)
|
|
19
|
+
docker_image: Optional[str] = Field(alias="dockerImage", default=None)
|
|
20
|
+
repo: Optional[str] = None
|
|
21
|
+
access: Optional[str] = None
|
|
22
|
+
views: Optional[str] = None
|
|
23
|
+
is_benchmark: Optional[bool] = Field(alias="isBenchmark", default=None)
|
|
24
|
+
linked_benchmark: Optional[GQLId] = Field(alias="linkedBenchmark", default=None)
|
|
25
|
+
is_published: Optional[bool] = Field(alias="isPublished", default=None)
|
|
26
|
+
owner: Optional[GQLId] = None
|
|
27
|
+
allow_all_artifact_types_in_registry: Optional[bool] = Field(
|
|
28
|
+
alias="allowAllArtifactTypesInRegistry", default=None
|
|
29
|
+
)
|
|
30
|
+
rate_limits: Optional[RateLimitsInput] = Field(alias="rateLimits", default=None)
|
|
31
|
+
client_mutation_id: Optional[str] = Field(alias="clientMutationId", default=None)
|
|
32
|
+
artifact_types: Optional[List[ArtifactTypeInput]] = Field(
|
|
33
|
+
alias="artifactTypes", default=None
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class RenameProjectInput(GQLInput):
|
|
38
|
+
entity_name: str = Field(alias="entityName")
|
|
39
|
+
old_project_name: str = Field(alias="oldProjectName")
|
|
40
|
+
new_project_name: str = Field(alias="newProjectName")
|
|
41
|
+
client_mutation_id: Optional[str] = Field(alias="clientMutationId", default=None)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class RateLimitsInput(GQLInput):
|
|
45
|
+
graphql: Optional[int] = None
|
|
46
|
+
sdk_graphql: Optional[int] = Field(alias="sdkGraphql", default=None)
|
|
47
|
+
filestream_count: Optional[int] = Field(alias="filestreamCount", default=None)
|
|
48
|
+
filestream_size: Optional[int] = Field(alias="filestreamSize", default=None)
|
|
49
|
+
sdk_graphql_query_seconds: Optional[float] = Field(
|
|
50
|
+
alias="sdkGraphqlQuerySeconds", default=None
|
|
51
|
+
)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class ArtifactTypeInput(GQLInput):
|
|
55
|
+
name: str
|
|
56
|
+
description: Optional[str] = None
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
class UpdateArtifactSequenceInput(GQLInput):
|
|
60
|
+
artifact_sequence_id: GQLId = Field(alias="artifactSequenceID")
|
|
61
|
+
name: Optional[str] = None
|
|
62
|
+
description: Optional[str] = None
|
|
63
|
+
client_mutation_id: Optional[str] = Field(alias="clientMutationId", default=None)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class MoveArtifactSequenceInput(GQLInput):
|
|
67
|
+
artifact_sequence_id: GQLId = Field(alias="artifactSequenceID")
|
|
68
|
+
destination_artifact_type_name: str = Field(alias="destinationArtifactTypeName")
|
|
69
|
+
client_mutation_id: Optional[str] = Field(alias="clientMutationId", default=None)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
class UpdateArtifactPortfolioInput(GQLInput):
|
|
73
|
+
artifact_portfolio_id: GQLId = Field(alias="artifactPortfolioID")
|
|
74
|
+
name: Optional[str] = None
|
|
75
|
+
description: Optional[str] = None
|
|
76
|
+
client_mutation_id: Optional[str] = Field(alias="clientMutationId", default=None)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
class ArtifactAliasInput(GQLInput):
|
|
14
80
|
artifact_collection_name: str = Field(alias="artifactCollectionName")
|
|
15
81
|
alias: str
|
|
16
82
|
|
|
17
83
|
|
|
18
|
-
class
|
|
84
|
+
class UpdateArtifactInput(GQLInput):
|
|
85
|
+
artifact_id: GQLId = Field(alias="artifactID")
|
|
86
|
+
description: Optional[str] = None
|
|
87
|
+
labels: Optional[str] = None
|
|
88
|
+
aliases: Optional[List[ArtifactAliasInput]] = None
|
|
89
|
+
tags_to_add: Optional[List[TagInput]] = Field(alias="tagsToAdd", default=None)
|
|
90
|
+
tags_to_delete: Optional[List[TagInput]] = Field(alias="tagsToDelete", default=None)
|
|
91
|
+
metadata: Optional[str] = None
|
|
92
|
+
ttl_duration_seconds: Optional[int] = Field(
|
|
93
|
+
alias="ttlDurationSeconds", default=None
|
|
94
|
+
)
|
|
95
|
+
client_mutation_id: Optional[str] = Field(alias="clientMutationId", default=None)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
class DeleteArtifactInput(GQLInput):
|
|
99
|
+
artifact_id: GQLId = Field(alias="artifactID")
|
|
100
|
+
delete_aliases: Optional[bool] = Field(alias="deleteAliases", default=False)
|
|
101
|
+
client_mutation_id: Optional[str] = Field(alias="clientMutationId", default=None)
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
class LinkArtifactInput(GQLInput):
|
|
19
105
|
artifact_id: Optional[GQLId] = Field(alias="artifactID", default=None)
|
|
20
106
|
artifact_portfolio_id: Optional[GQLId] = Field(
|
|
21
107
|
alias="artifactPortfolioID", default=None
|
|
@@ -30,17 +116,57 @@ class LinkArtifactInput(GQLBase):
|
|
|
30
116
|
client_mutation_id: Optional[str] = Field(alias="clientMutationId", default=None)
|
|
31
117
|
|
|
32
118
|
|
|
33
|
-
class
|
|
119
|
+
class UnlinkArtifactInput(GQLInput):
|
|
120
|
+
artifact_id: GQLId = Field(alias="artifactID")
|
|
121
|
+
artifact_portfolio_id: GQLId = Field(alias="artifactPortfolioID")
|
|
122
|
+
client_mutation_id: Optional[str] = Field(alias="clientMutationId", default=None)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
class ArtifactCollectionAliasInput(GQLInput):
|
|
34
126
|
alias: str
|
|
35
127
|
entity_name: str = Field(alias="entityName")
|
|
36
128
|
project_name: str = Field(alias="projectName")
|
|
37
129
|
artifact_collection_name: str = Field(alias="artifactCollectionName")
|
|
38
130
|
|
|
39
131
|
|
|
40
|
-
class
|
|
132
|
+
class AddAliasesInput(GQLInput):
|
|
133
|
+
aliases: List[ArtifactCollectionAliasInput]
|
|
134
|
+
artifact_id: GQLId = Field(alias="artifactID")
|
|
135
|
+
client_mutation_id: Optional[str] = Field(alias="clientMutationId", default=None)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
class DeleteAliasesInput(GQLInput):
|
|
139
|
+
aliases: List[ArtifactCollectionAliasInput]
|
|
140
|
+
artifact_id: GQLId = Field(alias="artifactID")
|
|
141
|
+
client_mutation_id: Optional[str] = Field(alias="clientMutationId", default=None)
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
class TagInput(GQLInput):
|
|
41
145
|
tag_category_name: Optional[str] = Field(alias="tagCategoryName", default=None)
|
|
42
146
|
tag_name: str = Field(alias="tagName")
|
|
43
|
-
attributes: Optional[
|
|
147
|
+
attributes: Optional[str] = None
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
class CreateArtifactCollectionTagAssignmentsInput(GQLInput):
|
|
151
|
+
entity_name: str = Field(alias="entityName")
|
|
152
|
+
project_name: str = Field(alias="projectName")
|
|
153
|
+
artifact_collection_name: str = Field(alias="artifactCollectionName")
|
|
154
|
+
tags: List[TagInput]
|
|
155
|
+
client_mutation_id: Optional[str] = Field(alias="clientMutationID", default=None)
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
class DeleteArtifactCollectionTagAssignmentsInput(GQLInput):
|
|
159
|
+
entity_name: str = Field(alias="entityName")
|
|
160
|
+
project_name: str = Field(alias="projectName")
|
|
161
|
+
artifact_collection_name: str = Field(alias="artifactCollectionName")
|
|
162
|
+
tags: List[TagInput]
|
|
163
|
+
client_mutation_id: Optional[str] = Field(alias="clientMutationID", default=None)
|
|
44
164
|
|
|
45
165
|
|
|
166
|
+
UpsertModelInput.model_rebuild()
|
|
167
|
+
UpdateArtifactInput.model_rebuild()
|
|
46
168
|
LinkArtifactInput.model_rebuild()
|
|
169
|
+
AddAliasesInput.model_rebuild()
|
|
170
|
+
DeleteAliasesInput.model_rebuild()
|
|
171
|
+
CreateArtifactCollectionTagAssignmentsInput.model_rebuild()
|
|
172
|
+
DeleteArtifactCollectionTagAssignmentsInput.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
|
-
from .fragments import
|
|
12
|
+
from .fragments import ArtifactMembershipFragment
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
class LinkArtifact(
|
|
15
|
+
class LinkArtifact(GQLResult):
|
|
16
16
|
link_artifact: Optional[LinkArtifactLinkArtifact] = Field(alias="linkArtifact")
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
class LinkArtifactLinkArtifact(
|
|
19
|
+
class LinkArtifactLinkArtifact(GQLResult):
|
|
20
20
|
version_index: Optional[int] = Field(alias="versionIndex")
|
|
21
|
-
artifact_membership: Optional[
|
|
21
|
+
artifact_membership: Optional[ArtifactMembershipFragment] = Field(
|
|
22
22
|
alias="artifactMembership", default=None
|
|
23
23
|
)
|
|
24
24
|
|