wandb 0.21.0__py3-none-win_amd64.whl → 0.21.2__py3-none-win_amd64.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.
Files changed (153) hide show
  1. wandb/__init__.py +16 -14
  2. wandb/__init__.pyi +427 -450
  3. wandb/agents/pyagent.py +41 -12
  4. wandb/analytics/sentry.py +7 -2
  5. wandb/apis/importers/mlflow.py +1 -1
  6. wandb/apis/public/__init__.py +1 -1
  7. wandb/apis/public/api.py +525 -360
  8. wandb/apis/public/artifacts.py +207 -13
  9. wandb/apis/public/automations.py +19 -3
  10. wandb/apis/public/files.py +172 -33
  11. wandb/apis/public/history.py +67 -15
  12. wandb/apis/public/integrations.py +25 -2
  13. wandb/apis/public/jobs.py +90 -2
  14. wandb/apis/public/projects.py +130 -79
  15. wandb/apis/public/query_generator.py +11 -1
  16. wandb/apis/public/registries/_utils.py +14 -16
  17. wandb/apis/public/registries/registries_search.py +183 -304
  18. wandb/apis/public/reports.py +96 -15
  19. wandb/apis/public/runs.py +299 -105
  20. wandb/apis/public/sweeps.py +222 -22
  21. wandb/apis/public/teams.py +41 -4
  22. wandb/apis/public/users.py +45 -4
  23. wandb/automations/_generated/delete_automation.py +1 -3
  24. wandb/automations/_generated/enums.py +13 -11
  25. wandb/beta/workflows.py +66 -30
  26. wandb/bin/gpu_stats.exe +0 -0
  27. wandb/bin/wandb-core +0 -0
  28. wandb/cli/cli.py +127 -3
  29. wandb/env.py +8 -0
  30. wandb/errors/errors.py +4 -1
  31. wandb/integration/lightning/fabric/logger.py +3 -4
  32. wandb/integration/metaflow/__init__.py +6 -0
  33. wandb/integration/metaflow/data_pandas.py +74 -0
  34. wandb/integration/metaflow/data_pytorch.py +75 -0
  35. wandb/integration/metaflow/data_sklearn.py +76 -0
  36. wandb/integration/metaflow/errors.py +13 -0
  37. wandb/integration/metaflow/metaflow.py +167 -223
  38. wandb/integration/openai/fine_tuning.py +1 -2
  39. wandb/integration/weave/__init__.py +6 -0
  40. wandb/integration/weave/interface.py +49 -0
  41. wandb/integration/weave/weave.py +63 -0
  42. wandb/jupyter.py +5 -5
  43. wandb/plot/custom_chart.py +30 -7
  44. wandb/proto/v3/wandb_internal_pb2.py +281 -280
  45. wandb/proto/v3/wandb_telemetry_pb2.py +4 -4
  46. wandb/proto/v4/wandb_internal_pb2.py +280 -280
  47. wandb/proto/v4/wandb_telemetry_pb2.py +4 -4
  48. wandb/proto/v5/wandb_internal_pb2.py +280 -280
  49. wandb/proto/v5/wandb_telemetry_pb2.py +4 -4
  50. wandb/proto/v6/wandb_internal_pb2.py +280 -280
  51. wandb/proto/v6/wandb_telemetry_pb2.py +4 -4
  52. wandb/proto/wandb_deprecated.py +6 -0
  53. wandb/sdk/artifacts/_factories.py +17 -0
  54. wandb/sdk/artifacts/_generated/__init__.py +221 -13
  55. wandb/sdk/artifacts/_generated/artifact_by_id.py +17 -0
  56. wandb/sdk/artifacts/_generated/artifact_by_name.py +22 -0
  57. wandb/sdk/artifacts/_generated/artifact_collection_membership_file_urls.py +43 -0
  58. wandb/sdk/artifacts/_generated/artifact_created_by.py +47 -0
  59. wandb/sdk/artifacts/_generated/artifact_file_urls.py +22 -0
  60. wandb/sdk/artifacts/_generated/artifact_type.py +31 -0
  61. wandb/sdk/artifacts/_generated/artifact_used_by.py +43 -0
  62. wandb/sdk/artifacts/_generated/artifact_via_membership_by_name.py +26 -0
  63. wandb/sdk/artifacts/_generated/delete_artifact.py +28 -0
  64. wandb/sdk/artifacts/_generated/enums.py +5 -0
  65. wandb/sdk/artifacts/_generated/fetch_artifact_manifest.py +38 -0
  66. wandb/sdk/artifacts/_generated/fetch_registries.py +32 -0
  67. wandb/sdk/artifacts/_generated/fragments.py +279 -41
  68. wandb/sdk/artifacts/_generated/link_artifact.py +6 -0
  69. wandb/sdk/artifacts/_generated/operations.py +654 -51
  70. wandb/sdk/artifacts/_generated/registry_collections.py +34 -0
  71. wandb/sdk/artifacts/_generated/registry_versions.py +34 -0
  72. wandb/sdk/artifacts/_generated/unlink_artifact.py +25 -0
  73. wandb/sdk/artifacts/_graphql_fragments.py +3 -86
  74. wandb/sdk/artifacts/_internal_artifact.py +19 -8
  75. wandb/sdk/artifacts/_validators.py +14 -4
  76. wandb/sdk/artifacts/artifact.py +512 -618
  77. wandb/sdk/artifacts/artifact_file_cache.py +10 -6
  78. wandb/sdk/artifacts/artifact_manifest.py +10 -9
  79. wandb/sdk/artifacts/artifact_manifest_entry.py +9 -10
  80. wandb/sdk/artifacts/artifact_manifests/artifact_manifest_v1.py +5 -3
  81. wandb/sdk/artifacts/storage_handlers/http_handler.py +1 -1
  82. wandb/sdk/artifacts/storage_handlers/s3_handler.py +1 -1
  83. wandb/sdk/artifacts/storage_policies/wandb_storage_policy.py +1 -1
  84. wandb/sdk/data_types/audio.py +38 -10
  85. wandb/sdk/data_types/base_types/media.py +6 -56
  86. wandb/sdk/data_types/graph.py +48 -14
  87. wandb/sdk/data_types/helper_types/bounding_boxes_2d.py +1 -3
  88. wandb/sdk/data_types/helper_types/image_mask.py +1 -3
  89. wandb/sdk/data_types/histogram.py +34 -21
  90. wandb/sdk/data_types/html.py +35 -12
  91. wandb/sdk/data_types/image.py +104 -68
  92. wandb/sdk/data_types/molecule.py +32 -19
  93. wandb/sdk/data_types/object_3d.py +36 -17
  94. wandb/sdk/data_types/plotly.py +18 -5
  95. wandb/sdk/data_types/saved_model.py +4 -6
  96. wandb/sdk/data_types/table.py +59 -30
  97. wandb/sdk/data_types/video.py +53 -26
  98. wandb/sdk/integration_utils/auto_logging.py +2 -2
  99. wandb/sdk/interface/interface_queue.py +1 -4
  100. wandb/sdk/interface/interface_shared.py +26 -37
  101. wandb/sdk/interface/interface_sock.py +24 -14
  102. wandb/sdk/internal/internal_api.py +6 -0
  103. wandb/sdk/internal/job_builder.py +6 -0
  104. wandb/sdk/internal/settings_static.py +2 -3
  105. wandb/sdk/launch/agent/agent.py +8 -1
  106. wandb/sdk/launch/agent/run_queue_item_file_saver.py +2 -2
  107. wandb/sdk/launch/create_job.py +15 -2
  108. wandb/sdk/launch/inputs/internal.py +3 -4
  109. wandb/sdk/launch/inputs/schema.py +1 -0
  110. wandb/sdk/launch/runner/kubernetes_monitor.py +1 -0
  111. wandb/sdk/launch/runner/kubernetes_runner.py +323 -1
  112. wandb/sdk/launch/sweeps/scheduler.py +2 -3
  113. wandb/sdk/lib/asyncio_compat.py +19 -16
  114. wandb/sdk/lib/asyncio_manager.py +252 -0
  115. wandb/sdk/lib/deprecate.py +1 -7
  116. wandb/sdk/lib/disabled.py +1 -1
  117. wandb/sdk/lib/hashutil.py +27 -5
  118. wandb/sdk/lib/module.py +7 -13
  119. wandb/sdk/lib/printer.py +2 -2
  120. wandb/sdk/lib/printer_asyncio.py +3 -1
  121. wandb/sdk/lib/progress.py +0 -19
  122. wandb/sdk/lib/retry.py +185 -78
  123. wandb/sdk/lib/service/service_client.py +106 -0
  124. wandb/sdk/lib/service/service_connection.py +20 -26
  125. wandb/sdk/lib/service/service_token.py +30 -13
  126. wandb/sdk/mailbox/mailbox.py +13 -5
  127. wandb/sdk/mailbox/mailbox_handle.py +22 -13
  128. wandb/sdk/mailbox/response_handle.py +42 -106
  129. wandb/sdk/mailbox/wait_with_progress.py +7 -42
  130. wandb/sdk/wandb_init.py +77 -116
  131. wandb/sdk/wandb_login.py +19 -15
  132. wandb/sdk/wandb_metric.py +2 -0
  133. wandb/sdk/wandb_run.py +497 -469
  134. wandb/sdk/wandb_settings.py +145 -4
  135. wandb/sdk/wandb_setup.py +204 -124
  136. wandb/sdk/wandb_sweep.py +14 -13
  137. wandb/sdk/wandb_watch.py +4 -6
  138. wandb/sync/sync.py +10 -0
  139. wandb/util.py +58 -1
  140. wandb/wandb_run.py +1 -2
  141. {wandb-0.21.0.dist-info → wandb-0.21.2.dist-info}/METADATA +1 -1
  142. {wandb-0.21.0.dist-info → wandb-0.21.2.dist-info}/RECORD +145 -129
  143. wandb/sdk/interface/interface_relay.py +0 -38
  144. wandb/sdk/interface/router.py +0 -89
  145. wandb/sdk/interface/router_queue.py +0 -43
  146. wandb/sdk/interface/router_relay.py +0 -50
  147. wandb/sdk/interface/router_sock.py +0 -32
  148. wandb/sdk/lib/sock_client.py +0 -236
  149. wandb/vendor/pynvml/__init__.py +0 -0
  150. wandb/vendor/pynvml/pynvml.py +0 -4779
  151. {wandb-0.21.0.dist-info → wandb-0.21.2.dist-info}/WHEEL +0 -0
  152. {wandb-0.21.0.dist-info → wandb-0.21.2.dist-info}/entry_points.txt +0 -0
  153. {wandb-0.21.0.dist-info → wandb-0.21.2.dist-info}/licenses/LICENSE +0 -0
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
25
25
  from wandb.proto import wandb_base_pb2 as wandb_dot_proto_dot_wandb__base__pb2
26
26
 
27
27
 
28
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!wandb/proto/wandb_telemetry.proto\x12\x0ewandb_internal\x1a\x1cwandb/proto/wandb_base.proto\"\xdb\x03\n\x0fTelemetryRecord\x12-\n\x0cimports_init\x18\x01 \x01(\x0b\x32\x17.wandb_internal.Imports\x12/\n\x0eimports_finish\x18\x02 \x01(\x0b\x32\x17.wandb_internal.Imports\x12(\n\x07\x66\x65\x61ture\x18\x03 \x01(\x0b\x32\x17.wandb_internal.Feature\x12\x16\n\x0epython_version\x18\x04 \x01(\t\x12\x13\n\x0b\x63li_version\x18\x05 \x01(\t\x12\x1b\n\x13huggingface_version\x18\x06 \x01(\t\x12 \n\x03\x65nv\x18\x08 \x01(\x0b\x32\x13.wandb_internal.Env\x12%\n\x05label\x18\t \x01(\x0b\x32\x16.wandb_internal.Labels\x12.\n\ndeprecated\x18\n \x01(\x0b\x32\x1a.wandb_internal.Deprecated\x12&\n\x06issues\x18\x0b \x01(\x0b\x32\x16.wandb_internal.Issues\x12\x14\n\x0c\x63ore_version\x18\x0c \x01(\t\x12\x10\n\x08platform\x18\r \x01(\t\x12+\n\x05_info\x18\xc8\x01 \x01(\x0b\x32\x1b.wandb_internal._RecordInfo\"\x11\n\x0fTelemetryResult\"\x9a\x0e\n\x07Imports\x12\r\n\x05torch\x18\x01 \x01(\x08\x12\r\n\x05keras\x18\x02 \x01(\x08\x12\x12\n\ntensorflow\x18\x03 \x01(\x08\x12\x0e\n\x06\x66\x61stai\x18\x04 \x01(\x08\x12\x0f\n\x07sklearn\x18\x05 \x01(\x08\x12\x0f\n\x07xgboost\x18\x06 \x01(\x08\x12\x10\n\x08\x63\x61tboost\x18\x07 \x01(\x08\x12\x10\n\x08lightgbm\x18\x08 \x01(\x08\x12\x19\n\x11pytorch_lightning\x18\t \x01(\x08\x12\x0e\n\x06ignite\x18\n \x01(\x08\x12\x14\n\x0ctransformers\x18\x0b \x01(\x08\x12\x0b\n\x03jax\x18\x0c \x01(\x08\x12\x10\n\x08metaflow\x18\r \x01(\x08\x12\x10\n\x08\x61llennlp\x18\x0e \x01(\x08\x12\x11\n\tautogluon\x18\x0f \x01(\x08\x12\x11\n\tautokeras\x18\x10 \x01(\x08\x12\x10\n\x08\x63\x61talyst\x18\x12 \x01(\x08\x12\x10\n\x08\x64\x65\x65pchem\x18\x15 \x01(\x08\x12\x0f\n\x07\x64\x65\x65pctr\x18\x16 \x01(\x08\x12\x0f\n\x07pycaret\x18\x1c \x01(\x08\x12\x14\n\x0cpytorchvideo\x18\x1d \x01(\x08\x12\x0b\n\x03ray\x18\x1e \x01(\x08\x12\x1a\n\x12simpletransformers\x18\x1f \x01(\x08\x12\x0e\n\x06skorch\x18 \x01(\x08\x12\r\n\x05spacy\x18! \x01(\x08\x12\r\n\x05\x66lash\x18\" \x01(\x08\x12\x0e\n\x06optuna\x18# \x01(\x08\x12\x0f\n\x07recbole\x18$ \x01(\x08\x12\x0c\n\x04mmcv\x18% \x01(\x08\x12\r\n\x05mmdet\x18& \x01(\x08\x12\x11\n\ttorchdrug\x18\' \x01(\x08\x12\x11\n\ttorchtext\x18( \x01(\x08\x12\x13\n\x0btorchvision\x18) \x01(\x08\x12\r\n\x05\x65legy\x18* \x01(\x08\x12\x12\n\ndetectron2\x18+ \x01(\x08\x12\r\n\x05\x66lair\x18, \x01(\x08\x12\x0c\n\x04\x66lax\x18- \x01(\x08\x12\x0c\n\x04syft\x18. \x01(\x08\x12\x0b\n\x03TTS\x18/ \x01(\x08\x12\r\n\x05monai\x18\x30 \x01(\x08\x12\x17\n\x0fhuggingface_hub\x18\x31 \x01(\x08\x12\r\n\x05hydra\x18\x32 \x01(\x08\x12\x10\n\x08\x64\x61tasets\x18\x33 \x01(\x08\x12\x0e\n\x06sacred\x18\x34 \x01(\x08\x12\x0e\n\x06joblib\x18\x35 \x01(\x08\x12\x0c\n\x04\x64\x61sk\x18\x36 \x01(\x08\x12\x11\n\tpaddleocr\x18\x38 \x01(\x08\x12\r\n\x05ppdet\x18\x39 \x01(\x08\x12\x11\n\tpaddleseg\x18: \x01(\x08\x12\x11\n\tpaddlenlp\x18; \x01(\x08\x12\r\n\x05mmseg\x18< \x01(\x08\x12\r\n\x05mmocr\x18= \x01(\x08\x12\r\n\x05mmcls\x18> \x01(\x08\x12\x0c\n\x04timm\x18? \x01(\x08\x12\x0f\n\x07\x66\x61irseq\x18@ \x01(\x08\x12\x12\n\ndeepchecks\x18\x41 \x01(\x08\x12\x10\n\x08\x63omposer\x18\x42 \x01(\x08\x12\x10\n\x08sparseml\x18\x43 \x01(\x08\x12\x10\n\x08\x61nomalib\x18\x44 \x01(\x08\x12\r\n\x05zenml\x18\x45 \x01(\x08\x12\x12\n\ncolossalai\x18\x46 \x01(\x08\x12\x12\n\naccelerate\x18G \x01(\x08\x12\x0e\n\x06merlin\x18H \x01(\x08\x12\x0f\n\x07nanodet\x18I \x01(\x08\x12#\n\x1bsegmentation_models_pytorch\x18J \x01(\x08\x12\x1d\n\x15sentence_transformers\x18K \x01(\x08\x12\x0b\n\x03\x64gl\x18L \x01(\x08\x12\x17\n\x0ftorch_geometric\x18M \x01(\x08\x12\x0c\n\x04jina\x18N \x01(\x08\x12\x0e\n\x06kornia\x18O \x01(\x08\x12\x16\n\x0e\x61lbumentations\x18P \x01(\x08\x12\x10\n\x08keras_cv\x18Q \x01(\x08\x12\x10\n\x08mmengine\x18R \x01(\x08\x12\x11\n\tdiffusers\x18S \x01(\x08\x12\x0b\n\x03trl\x18T \x01(\x08\x12\x0c\n\x04trlx\x18U \x01(\x08\x12\x11\n\tlangchain\x18V \x01(\x08\x12\x13\n\x0bllama_index\x18W \x01(\x08\x12\x15\n\rstability_sdk\x18X \x01(\x08\x12\x0f\n\x07prefect\x18Y \x01(\x08\x12\x13\n\x0bprefect_ray\x18Z \x01(\x08\x12\x10\n\x08pinecone\x18[ \x01(\x08\x12\x10\n\x08\x63hromadb\x18\\ \x01(\x08\x12\x10\n\x08weaviate\x18] \x01(\x08\x12\x13\n\x0bpromptlayer\x18^ \x01(\x08\x12\x0e\n\x06openai\x18_ \x01(\x08\x12\x0e\n\x06\x63ohere\x18` \x01(\x08\x12\x11\n\tanthropic\x18\x61 \x01(\x08\x12\x0c\n\x04peft\x18\x62 \x01(\x08\x12\x0f\n\x07optimum\x18\x63 \x01(\x08\x12\x10\n\x08\x65valuate\x18\x64 \x01(\x08\x12\x10\n\x08langflow\x18\x65 \x01(\x08\x12\x12\n\nkeras_core\x18\x66 \x01(\x08\x12\x18\n\x10lightning_fabric\x18g \x01(\x08\x12\x1c\n\x14\x63urated_transformers\x18h \x01(\x08\x12\x0e\n\x06orjson\x18i \x01(\x08\x12\x11\n\tlightning\x18j \x01(\x08J\x04\x08\x11\x10\x12J\x04\x08\x13\x10\x14J\x04\x08\x14\x10\x15J\x04\x08\x17\x10\x18J\x04\x08\x18\x10\x19J\x04\x08\x19\x10\x1aJ\x04\x08\x1a\x10\x1bJ\x04\x08\x1b\x10\x1cJ\x04\x08\x37\x10\x38\"\x95\r\n\x07\x46\x65\x61ture\x12\r\n\x05watch\x18\x01 \x01(\x08\x12\x0e\n\x06\x66inish\x18\x02 \x01(\x08\x12\x0c\n\x04save\x18\x03 \x01(\x08\x12\x0f\n\x07offline\x18\x04 \x01(\x08\x12\x0f\n\x07resumed\x18\x05 \x01(\x08\x12\x0c\n\x04grpc\x18\x06 \x01(\x08\x12\x0e\n\x06metric\x18\x07 \x01(\x08\x12\r\n\x05keras\x18\x08 \x01(\x08\x12\x11\n\tsagemaker\x18\t \x01(\x08\x12\x1c\n\x14\x61rtifact_incremental\x18\n \x01(\x08\x12\x10\n\x08metaflow\x18\x0b \x01(\x08\x12\x0f\n\x07prodigy\x18\x0c \x01(\x08\x12\x15\n\rset_init_name\x18\r \x01(\x08\x12\x13\n\x0bset_init_id\x18\x0e \x01(\x08\x12\x15\n\rset_init_tags\x18\x0f \x01(\x08\x12\x17\n\x0fset_init_config\x18\x10 \x01(\x08\x12\x14\n\x0cset_run_name\x18\x11 \x01(\x08\x12\x14\n\x0cset_run_tags\x18\x12 \x01(\x08\x12\x17\n\x0fset_config_item\x18\x13 \x01(\x08\x12\x0e\n\x06launch\x18\x14 \x01(\x08\x12\x1c\n\x14torch_profiler_trace\x18\x15 \x01(\x08\x12\x0b\n\x03sb3\x18\x16 \x01(\x08\x12\x17\n\x0finit_return_run\x18\x18 \x01(\x08\x12\x1f\n\x17lightgbm_wandb_callback\x18\x19 \x01(\x08\x12\x1c\n\x14lightgbm_log_summary\x18\x1a \x01(\x08\x12\x1f\n\x17\x63\x61tboost_wandb_callback\x18\x1b \x01(\x08\x12\x1c\n\x14\x63\x61tboost_log_summary\x18\x1c \x01(\x08\x12\x17\n\x0ftensorboard_log\x18\x1d \x01(\x08\x12\x16\n\x0e\x65stimator_hook\x18\x1e \x01(\x08\x12\x1e\n\x16xgboost_wandb_callback\x18\x1f \x01(\x08\x12\"\n\x1axgboost_old_wandb_callback\x18 \x01(\x08\x12\x0e\n\x06\x61ttach\x18! \x01(\x08\x12\x19\n\x11tensorboard_patch\x18\" \x01(\x08\x12\x18\n\x10tensorboard_sync\x18# \x01(\x08\x12\x15\n\rkfp_wandb_log\x18$ \x01(\x08\x12\x1b\n\x13maybe_run_overwrite\x18% \x01(\x08\x12\x1c\n\x14keras_metrics_logger\x18& \x01(\x08\x12\x1e\n\x16keras_model_checkpoint\x18\' \x01(\x08\x12!\n\x19keras_wandb_eval_callback\x18( \x01(\x08\x12\x1d\n\x15\x66low_control_overflow\x18) \x01(\x08\x12\x0c\n\x04sync\x18* \x01(\x08\x12\x1d\n\x15\x66low_control_disabled\x18+ \x01(\x08\x12\x1b\n\x13\x66low_control_custom\x18, \x01(\x08\x12\x14\n\x0copen_metrics\x18. \x01(\x08\x12\x1a\n\x12ultralytics_yolov8\x18/ \x01(\x08\x12\x17\n\x0fimporter_mlflow\x18\x30 \x01(\x08\x12\x15\n\rsync_tfevents\x18\x31 \x01(\x08\x12\x15\n\rasync_uploads\x18\x32 \x01(\x08\x12\x16\n\x0eopenai_autolog\x18\x33 \x01(\x08\x12\x18\n\x10langchain_tracer\x18\x34 \x01(\x08\x12\x16\n\x0e\x63ohere_autolog\x18\x35 \x01(\x08\x12\x1b\n\x13hf_pipeline_autolog\x18\x36 \x01(\x08\x12\r\n\x05lib_c\x18\x38 \x01(\x08\x12\x0f\n\x07lib_cpp\x18\x39 \x01(\x08\x12\x19\n\x11openai_finetuning\x18: \x01(\x08\x12\x19\n\x11\x64iffusers_autolog\x18; \x01(\x08\x12\x1f\n\x17lightning_fabric_logger\x18< \x01(\x08\x12\x14\n\x0cset_step_log\x18= \x01(\x08\x12\x13\n\x0bset_summary\x18> \x01(\x08\x12\x16\n\x0emetric_summary\x18? \x01(\x08\x12\x13\n\x0bmetric_goal\x18@ \x01(\x08\x12\x15\n\rmetric_hidden\x18\x41 \x01(\x08\x12\x18\n\x10metric_step_sync\x18\x42 \x01(\x08\x12\x13\n\x0bshared_mode\x18\x43 \x01(\x08\x12#\n\x1bserver_side_derived_summary\x18\x44 \x01(\x08\x12\x1b\n\x13user_provided_label\x18\x45 \x01(\x08\x12\x1e\n\x16\x64\x63gm_profiling_enabled\x18\x46 \x01(\x08\x12\x11\n\tfork_mode\x18G \x01(\x08\x12\x13\n\x0brewind_mode\x18H \x01(\x08J\x04\x08\x17\x10\x18J\x04\x08-\x10.J\x04\x08\x37\x10\x38\"\xc9\x01\n\x03\x45nv\x12\x0f\n\x07jupyter\x18\x01 \x01(\x08\x12\x0e\n\x06kaggle\x18\x02 \x01(\x08\x12\x0f\n\x07windows\x18\x03 \x01(\x08\x12\x0e\n\x06m1_gpu\x18\x04 \x01(\x08\x12\x10\n\x08trainium\x18\n \x01(\x08\x12\x0b\n\x03pex\x18\x0b \x01(\x08\x12\r\n\x05\x63olab\x18\x0c \x01(\x08\x12\x0f\n\x07ipython\x18\r \x01(\x08\x12\x12\n\naws_lambda\x18\x0e \x01(\x08\x12\x0f\n\x07\x61md_gpu\x18\x0f \x01(\x08J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08J\x04\x08\x08\x10\tJ\x04\x08\t\x10\n\"H\n\x06Labels\x12\x13\n\x0b\x63ode_string\x18\x01 \x01(\t\x12\x13\n\x0brepo_string\x18\x02 \x01(\t\x12\x14\n\x0c\x63ode_version\x18\x03 \x01(\t\"\xd5\x05\n\nDeprecated\x12!\n\x19keras_callback__data_type\x18\x01 \x01(\x08\x12\r\n\x05plots\x18\x05 \x01(\x08\x12!\n\x19init__config_include_keys\x18\x07 \x01(\x08\x12!\n\x19init__config_exclude_keys\x18\x08 \x01(\x08\x12\"\n\x1akeras_callback__save_model\x18\t \x01(\x08\x12\x18\n\x10langchain_tracer\x18\n \x01(\x08\x12\x1a\n\x12\x61rtifact__get_path\x18\x0b \x01(\x08\x12#\n\x1b\x61rtifactmanifestentry__name\x18\x0c \x01(\x08\x12\x1e\n\x16\x61pi__artifact_versions\x18\r \x01(\x08\x12(\n artifact_collection__change_type\x18\x0e \x01(\x08\x12\x1f\n\x17run__define_metric_copy\x18\x0f \x01(\x08\x12\x14\n\x0crun_disabled\x18\x10 \x01(\x08\x12\x16\n\x0ekeras_callback\x18\x11 \x01(\x08\x12$\n\x1crun__define_metric_best_goal\x18\x12 \x01(\x08\x12\x19\n\x11run__finish_quiet\x18\x13 \x01(\x08\x12\x18\n\x10run__reinit_bool\x18\x14 \x01(\x08\x12\x14\n\x0crun__get_url\x18\x15 \x01(\x08\x12\x19\n\x11run__project_name\x18\x16 \x01(\x08\x12\x1c\n\x14run__get_project_url\x18\x17 \x01(\x08\x12\x1a\n\x12run__get_sweep_url\x18\x18 \x01(\x08\x12 \n\x18run__use_artifact_use_as\x18\x19 \x01(\x08\x12\x18\n\x10\x61rtifact__use_as\x18\x1a \x01(\x08\x12\x1d\n\x15\x61rtifact__init_use_as\x18\x1b \x01(\x08J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x06\x10\x07\"|\n\x06Issues\x12%\n\x1dsettings__validation_warnings\x18\x01 \x01(\x08\x12!\n\x19settings__unexpected_args\x18\x02 \x01(\x08\x12(\n settings__preprocessing_warnings\x18\x03 \x01(\x08\x42\x1bZ\x19\x63ore/pkg/service_go_protob\x06proto3')
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!wandb/proto/wandb_telemetry.proto\x12\x0ewandb_internal\x1a\x1cwandb/proto/wandb_base.proto\"\xdb\x03\n\x0fTelemetryRecord\x12-\n\x0cimports_init\x18\x01 \x01(\x0b\x32\x17.wandb_internal.Imports\x12/\n\x0eimports_finish\x18\x02 \x01(\x0b\x32\x17.wandb_internal.Imports\x12(\n\x07\x66\x65\x61ture\x18\x03 \x01(\x0b\x32\x17.wandb_internal.Feature\x12\x16\n\x0epython_version\x18\x04 \x01(\t\x12\x13\n\x0b\x63li_version\x18\x05 \x01(\t\x12\x1b\n\x13huggingface_version\x18\x06 \x01(\t\x12 \n\x03\x65nv\x18\x08 \x01(\x0b\x32\x13.wandb_internal.Env\x12%\n\x05label\x18\t \x01(\x0b\x32\x16.wandb_internal.Labels\x12.\n\ndeprecated\x18\n \x01(\x0b\x32\x1a.wandb_internal.Deprecated\x12&\n\x06issues\x18\x0b \x01(\x0b\x32\x16.wandb_internal.Issues\x12\x14\n\x0c\x63ore_version\x18\x0c \x01(\t\x12\x10\n\x08platform\x18\r \x01(\t\x12+\n\x05_info\x18\xc8\x01 \x01(\x0b\x32\x1b.wandb_internal._RecordInfo\"\x11\n\x0fTelemetryResult\"\x9a\x0e\n\x07Imports\x12\r\n\x05torch\x18\x01 \x01(\x08\x12\r\n\x05keras\x18\x02 \x01(\x08\x12\x12\n\ntensorflow\x18\x03 \x01(\x08\x12\x0e\n\x06\x66\x61stai\x18\x04 \x01(\x08\x12\x0f\n\x07sklearn\x18\x05 \x01(\x08\x12\x0f\n\x07xgboost\x18\x06 \x01(\x08\x12\x10\n\x08\x63\x61tboost\x18\x07 \x01(\x08\x12\x10\n\x08lightgbm\x18\x08 \x01(\x08\x12\x19\n\x11pytorch_lightning\x18\t \x01(\x08\x12\x0e\n\x06ignite\x18\n \x01(\x08\x12\x14\n\x0ctransformers\x18\x0b \x01(\x08\x12\x0b\n\x03jax\x18\x0c \x01(\x08\x12\x10\n\x08metaflow\x18\r \x01(\x08\x12\x10\n\x08\x61llennlp\x18\x0e \x01(\x08\x12\x11\n\tautogluon\x18\x0f \x01(\x08\x12\x11\n\tautokeras\x18\x10 \x01(\x08\x12\x10\n\x08\x63\x61talyst\x18\x12 \x01(\x08\x12\x10\n\x08\x64\x65\x65pchem\x18\x15 \x01(\x08\x12\x0f\n\x07\x64\x65\x65pctr\x18\x16 \x01(\x08\x12\x0f\n\x07pycaret\x18\x1c \x01(\x08\x12\x14\n\x0cpytorchvideo\x18\x1d \x01(\x08\x12\x0b\n\x03ray\x18\x1e \x01(\x08\x12\x1a\n\x12simpletransformers\x18\x1f \x01(\x08\x12\x0e\n\x06skorch\x18 \x01(\x08\x12\r\n\x05spacy\x18! \x01(\x08\x12\r\n\x05\x66lash\x18\" \x01(\x08\x12\x0e\n\x06optuna\x18# \x01(\x08\x12\x0f\n\x07recbole\x18$ \x01(\x08\x12\x0c\n\x04mmcv\x18% \x01(\x08\x12\r\n\x05mmdet\x18& \x01(\x08\x12\x11\n\ttorchdrug\x18\' \x01(\x08\x12\x11\n\ttorchtext\x18( \x01(\x08\x12\x13\n\x0btorchvision\x18) \x01(\x08\x12\r\n\x05\x65legy\x18* \x01(\x08\x12\x12\n\ndetectron2\x18+ \x01(\x08\x12\r\n\x05\x66lair\x18, \x01(\x08\x12\x0c\n\x04\x66lax\x18- \x01(\x08\x12\x0c\n\x04syft\x18. \x01(\x08\x12\x0b\n\x03TTS\x18/ \x01(\x08\x12\r\n\x05monai\x18\x30 \x01(\x08\x12\x17\n\x0fhuggingface_hub\x18\x31 \x01(\x08\x12\r\n\x05hydra\x18\x32 \x01(\x08\x12\x10\n\x08\x64\x61tasets\x18\x33 \x01(\x08\x12\x0e\n\x06sacred\x18\x34 \x01(\x08\x12\x0e\n\x06joblib\x18\x35 \x01(\x08\x12\x0c\n\x04\x64\x61sk\x18\x36 \x01(\x08\x12\x11\n\tpaddleocr\x18\x38 \x01(\x08\x12\r\n\x05ppdet\x18\x39 \x01(\x08\x12\x11\n\tpaddleseg\x18: \x01(\x08\x12\x11\n\tpaddlenlp\x18; \x01(\x08\x12\r\n\x05mmseg\x18< \x01(\x08\x12\r\n\x05mmocr\x18= \x01(\x08\x12\r\n\x05mmcls\x18> \x01(\x08\x12\x0c\n\x04timm\x18? \x01(\x08\x12\x0f\n\x07\x66\x61irseq\x18@ \x01(\x08\x12\x12\n\ndeepchecks\x18\x41 \x01(\x08\x12\x10\n\x08\x63omposer\x18\x42 \x01(\x08\x12\x10\n\x08sparseml\x18\x43 \x01(\x08\x12\x10\n\x08\x61nomalib\x18\x44 \x01(\x08\x12\r\n\x05zenml\x18\x45 \x01(\x08\x12\x12\n\ncolossalai\x18\x46 \x01(\x08\x12\x12\n\naccelerate\x18G \x01(\x08\x12\x0e\n\x06merlin\x18H \x01(\x08\x12\x0f\n\x07nanodet\x18I \x01(\x08\x12#\n\x1bsegmentation_models_pytorch\x18J \x01(\x08\x12\x1d\n\x15sentence_transformers\x18K \x01(\x08\x12\x0b\n\x03\x64gl\x18L \x01(\x08\x12\x17\n\x0ftorch_geometric\x18M \x01(\x08\x12\x0c\n\x04jina\x18N \x01(\x08\x12\x0e\n\x06kornia\x18O \x01(\x08\x12\x16\n\x0e\x61lbumentations\x18P \x01(\x08\x12\x10\n\x08keras_cv\x18Q \x01(\x08\x12\x10\n\x08mmengine\x18R \x01(\x08\x12\x11\n\tdiffusers\x18S \x01(\x08\x12\x0b\n\x03trl\x18T \x01(\x08\x12\x0c\n\x04trlx\x18U \x01(\x08\x12\x11\n\tlangchain\x18V \x01(\x08\x12\x13\n\x0bllama_index\x18W \x01(\x08\x12\x15\n\rstability_sdk\x18X \x01(\x08\x12\x0f\n\x07prefect\x18Y \x01(\x08\x12\x13\n\x0bprefect_ray\x18Z \x01(\x08\x12\x10\n\x08pinecone\x18[ \x01(\x08\x12\x10\n\x08\x63hromadb\x18\\ \x01(\x08\x12\x10\n\x08weaviate\x18] \x01(\x08\x12\x13\n\x0bpromptlayer\x18^ \x01(\x08\x12\x0e\n\x06openai\x18_ \x01(\x08\x12\x0e\n\x06\x63ohere\x18` \x01(\x08\x12\x11\n\tanthropic\x18\x61 \x01(\x08\x12\x0c\n\x04peft\x18\x62 \x01(\x08\x12\x0f\n\x07optimum\x18\x63 \x01(\x08\x12\x10\n\x08\x65valuate\x18\x64 \x01(\x08\x12\x10\n\x08langflow\x18\x65 \x01(\x08\x12\x12\n\nkeras_core\x18\x66 \x01(\x08\x12\x18\n\x10lightning_fabric\x18g \x01(\x08\x12\x1c\n\x14\x63urated_transformers\x18h \x01(\x08\x12\x0e\n\x06orjson\x18i \x01(\x08\x12\x11\n\tlightning\x18j \x01(\x08J\x04\x08\x11\x10\x12J\x04\x08\x13\x10\x14J\x04\x08\x14\x10\x15J\x04\x08\x17\x10\x18J\x04\x08\x18\x10\x19J\x04\x08\x19\x10\x1aJ\x04\x08\x1a\x10\x1bJ\x04\x08\x1b\x10\x1cJ\x04\x08\x37\x10\x38\"\x95\r\n\x07\x46\x65\x61ture\x12\r\n\x05watch\x18\x01 \x01(\x08\x12\x0e\n\x06\x66inish\x18\x02 \x01(\x08\x12\x0c\n\x04save\x18\x03 \x01(\x08\x12\x0f\n\x07offline\x18\x04 \x01(\x08\x12\x0f\n\x07resumed\x18\x05 \x01(\x08\x12\x0c\n\x04grpc\x18\x06 \x01(\x08\x12\x0e\n\x06metric\x18\x07 \x01(\x08\x12\r\n\x05keras\x18\x08 \x01(\x08\x12\x11\n\tsagemaker\x18\t \x01(\x08\x12\x1c\n\x14\x61rtifact_incremental\x18\n \x01(\x08\x12\x10\n\x08metaflow\x18\x0b \x01(\x08\x12\x0f\n\x07prodigy\x18\x0c \x01(\x08\x12\x15\n\rset_init_name\x18\r \x01(\x08\x12\x13\n\x0bset_init_id\x18\x0e \x01(\x08\x12\x15\n\rset_init_tags\x18\x0f \x01(\x08\x12\x17\n\x0fset_init_config\x18\x10 \x01(\x08\x12\x14\n\x0cset_run_name\x18\x11 \x01(\x08\x12\x14\n\x0cset_run_tags\x18\x12 \x01(\x08\x12\x17\n\x0fset_config_item\x18\x13 \x01(\x08\x12\x0e\n\x06launch\x18\x14 \x01(\x08\x12\x1c\n\x14torch_profiler_trace\x18\x15 \x01(\x08\x12\x0b\n\x03sb3\x18\x16 \x01(\x08\x12\x17\n\x0finit_return_run\x18\x18 \x01(\x08\x12\x1f\n\x17lightgbm_wandb_callback\x18\x19 \x01(\x08\x12\x1c\n\x14lightgbm_log_summary\x18\x1a \x01(\x08\x12\x1f\n\x17\x63\x61tboost_wandb_callback\x18\x1b \x01(\x08\x12\x1c\n\x14\x63\x61tboost_log_summary\x18\x1c \x01(\x08\x12\x17\n\x0ftensorboard_log\x18\x1d \x01(\x08\x12\x16\n\x0e\x65stimator_hook\x18\x1e \x01(\x08\x12\x1e\n\x16xgboost_wandb_callback\x18\x1f \x01(\x08\x12\"\n\x1axgboost_old_wandb_callback\x18 \x01(\x08\x12\x0e\n\x06\x61ttach\x18! \x01(\x08\x12\x19\n\x11tensorboard_patch\x18\" \x01(\x08\x12\x18\n\x10tensorboard_sync\x18# \x01(\x08\x12\x15\n\rkfp_wandb_log\x18$ \x01(\x08\x12\x1b\n\x13maybe_run_overwrite\x18% \x01(\x08\x12\x1c\n\x14keras_metrics_logger\x18& \x01(\x08\x12\x1e\n\x16keras_model_checkpoint\x18\' \x01(\x08\x12!\n\x19keras_wandb_eval_callback\x18( \x01(\x08\x12\x1d\n\x15\x66low_control_overflow\x18) \x01(\x08\x12\x0c\n\x04sync\x18* \x01(\x08\x12\x1d\n\x15\x66low_control_disabled\x18+ \x01(\x08\x12\x1b\n\x13\x66low_control_custom\x18, \x01(\x08\x12\x14\n\x0copen_metrics\x18. \x01(\x08\x12\x1a\n\x12ultralytics_yolov8\x18/ \x01(\x08\x12\x17\n\x0fimporter_mlflow\x18\x30 \x01(\x08\x12\x15\n\rsync_tfevents\x18\x31 \x01(\x08\x12\x15\n\rasync_uploads\x18\x32 \x01(\x08\x12\x16\n\x0eopenai_autolog\x18\x33 \x01(\x08\x12\x18\n\x10langchain_tracer\x18\x34 \x01(\x08\x12\x16\n\x0e\x63ohere_autolog\x18\x35 \x01(\x08\x12\x1b\n\x13hf_pipeline_autolog\x18\x36 \x01(\x08\x12\r\n\x05lib_c\x18\x38 \x01(\x08\x12\x0f\n\x07lib_cpp\x18\x39 \x01(\x08\x12\x19\n\x11openai_finetuning\x18: \x01(\x08\x12\x19\n\x11\x64iffusers_autolog\x18; \x01(\x08\x12\x1f\n\x17lightning_fabric_logger\x18< \x01(\x08\x12\x14\n\x0cset_step_log\x18= \x01(\x08\x12\x13\n\x0bset_summary\x18> \x01(\x08\x12\x16\n\x0emetric_summary\x18? \x01(\x08\x12\x13\n\x0bmetric_goal\x18@ \x01(\x08\x12\x15\n\rmetric_hidden\x18\x41 \x01(\x08\x12\x18\n\x10metric_step_sync\x18\x42 \x01(\x08\x12\x13\n\x0bshared_mode\x18\x43 \x01(\x08\x12#\n\x1bserver_side_derived_summary\x18\x44 \x01(\x08\x12\x1b\n\x13user_provided_label\x18\x45 \x01(\x08\x12\x1e\n\x16\x64\x63gm_profiling_enabled\x18\x46 \x01(\x08\x12\x11\n\tfork_mode\x18G \x01(\x08\x12\x13\n\x0brewind_mode\x18H \x01(\x08J\x04\x08\x17\x10\x18J\x04\x08-\x10.J\x04\x08\x37\x10\x38\"\xc9\x01\n\x03\x45nv\x12\x0f\n\x07jupyter\x18\x01 \x01(\x08\x12\x0e\n\x06kaggle\x18\x02 \x01(\x08\x12\x0f\n\x07windows\x18\x03 \x01(\x08\x12\x0e\n\x06m1_gpu\x18\x04 \x01(\x08\x12\x10\n\x08trainium\x18\n \x01(\x08\x12\x0b\n\x03pex\x18\x0b \x01(\x08\x12\r\n\x05\x63olab\x18\x0c \x01(\x08\x12\x0f\n\x07ipython\x18\r \x01(\x08\x12\x12\n\naws_lambda\x18\x0e \x01(\x08\x12\x0f\n\x07\x61md_gpu\x18\x0f \x01(\x08J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08J\x04\x08\x08\x10\tJ\x04\x08\t\x10\n\"H\n\x06Labels\x12\x13\n\x0b\x63ode_string\x18\x01 \x01(\t\x12\x13\n\x0brepo_string\x18\x02 \x01(\t\x12\x14\n\x0c\x63ode_version\x18\x03 \x01(\t\"\xc2\x06\n\nDeprecated\x12!\n\x19keras_callback__data_type\x18\x01 \x01(\x08\x12\r\n\x05plots\x18\x05 \x01(\x08\x12!\n\x19init__config_include_keys\x18\x07 \x01(\x08\x12!\n\x19init__config_exclude_keys\x18\x08 \x01(\x08\x12\"\n\x1akeras_callback__save_model\x18\t \x01(\x08\x12\x18\n\x10langchain_tracer\x18\n \x01(\x08\x12\x1a\n\x12\x61rtifact__get_path\x18\x0b \x01(\x08\x12#\n\x1b\x61rtifactmanifestentry__name\x18\x0c \x01(\x08\x12\x1e\n\x16\x61pi__artifact_versions\x18\r \x01(\x08\x12(\n artifact_collection__change_type\x18\x0e \x01(\x08\x12\x1f\n\x17run__define_metric_copy\x18\x0f \x01(\x08\x12\x14\n\x0crun_disabled\x18\x10 \x01(\x08\x12\x16\n\x0ekeras_callback\x18\x11 \x01(\x08\x12$\n\x1crun__define_metric_best_goal\x18\x12 \x01(\x08\x12\x19\n\x11run__finish_quiet\x18\x13 \x01(\x08\x12\x18\n\x10run__reinit_bool\x18\x14 \x01(\x08\x12\x14\n\x0crun__get_url\x18\x15 \x01(\x08\x12\x19\n\x11run__project_name\x18\x16 \x01(\x08\x12\x1c\n\x14run__get_project_url\x18\x17 \x01(\x08\x12\x1a\n\x12run__get_sweep_url\x18\x18 \x01(\x08\x12 \n\x18run__use_artifact_use_as\x18\x19 \x01(\x08\x12\x18\n\x10\x61rtifact__use_as\x18\x1a \x01(\x08\x12\x1d\n\x15\x61rtifact__init_use_as\x18\x1b \x01(\x08\x12\"\n\x1a\x62\x65ta__workflows__log_model\x18\x1c \x01(\x08\x12\"\n\x1a\x62\x65ta__workflows__use_model\x18\x1d \x01(\x08\x12#\n\x1b\x62\x65ta__workflows__link_model\x18\x1e \x01(\x08J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x06\x10\x07\"|\n\x06Issues\x12%\n\x1dsettings__validation_warnings\x18\x01 \x01(\x08\x12!\n\x19settings__unexpected_args\x18\x02 \x01(\x08\x12(\n settings__preprocessing_warnings\x18\x03 \x01(\x08\x42\x1bZ\x19\x63ore/pkg/service_go_protob\x06proto3')
29
29
 
30
30
  _globals = globals()
31
31
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -46,7 +46,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
46
46
  _globals['_LABELS']._serialized_start=4293
47
47
  _globals['_LABELS']._serialized_end=4365
48
48
  _globals['_DEPRECATED']._serialized_start=4368
49
- _globals['_DEPRECATED']._serialized_end=5093
50
- _globals['_ISSUES']._serialized_start=5095
51
- _globals['_ISSUES']._serialized_end=5219
49
+ _globals['_DEPRECATED']._serialized_end=5202
50
+ _globals['_ISSUES']._serialized_start=5204
51
+ _globals['_ISSUES']._serialized_end=5328
52
52
  # @@protoc_insertion_point(module_scope)
@@ -25,6 +25,9 @@ DEPRECATED_FEATURES = Literal[
25
25
  "run__use_artifact_use_as",
26
26
  "artifact__use_as",
27
27
  "artifact__init_use_as",
28
+ "beta__workflows__log_model",
29
+ "beta__workflows__use_model",
30
+ "beta__workflows__link_model",
28
31
  ]
29
32
 
30
33
  class Deprecated:
@@ -51,3 +54,6 @@ class Deprecated:
51
54
  run__use_artifact_use_as: DEPRECATED_FEATURES = "run__use_artifact_use_as"
52
55
  artifact__use_as: DEPRECATED_FEATURES = "artifact__use_as"
53
56
  artifact__init_use_as: DEPRECATED_FEATURES = "artifact__init_use_as"
57
+ beta__workflows__log_model: DEPRECATED_FEATURES = "beta__workflows__log_model"
58
+ beta__workflows__use_model: DEPRECATED_FEATURES = "beta__workflows__use_model"
59
+ beta__workflows__link_model: DEPRECATED_FEATURES = "beta__workflows__link_model"
@@ -0,0 +1,17 @@
1
+ from __future__ import annotations
2
+
3
+ from typing import TYPE_CHECKING
4
+
5
+ from wandb import env
6
+
7
+ from .storage_layout import StorageLayout
8
+ from .storage_policies import WandbStoragePolicy
9
+
10
+ if TYPE_CHECKING:
11
+ from .storage_policy import StoragePolicy
12
+
13
+
14
+ def make_storage_policy() -> StoragePolicy:
15
+ """A factory function that returns the default StoragePolicy for the current environment."""
16
+ layout = StorageLayout.V1 if env.get_use_v1_artifacts() else StorageLayout.V2
17
+ return WandbStoragePolicy.from_config({"storageLayout": layout})
@@ -1,24 +1,63 @@
1
1
  # Generated by ariadne-codegen
2
2
 
3
3
  from .add_aliases import AddAliases, AddAliasesAddAliases
4
+ from .artifact_by_id import ArtifactByID
5
+ from .artifact_by_name import ArtifactByName, ArtifactByNameProject
6
+ from .artifact_collection_membership_file_urls import (
7
+ ArtifactCollectionMembershipFileUrls,
8
+ ArtifactCollectionMembershipFileUrlsProject,
9
+ ArtifactCollectionMembershipFileUrlsProjectArtifactCollection,
10
+ ArtifactCollectionMembershipFileUrlsProjectArtifactCollectionArtifactMembership,
11
+ )
4
12
  from .artifact_collection_membership_files import (
5
13
  ArtifactCollectionMembershipFiles,
6
14
  ArtifactCollectionMembershipFilesProject,
7
15
  ArtifactCollectionMembershipFilesProjectArtifactCollection,
8
16
  ArtifactCollectionMembershipFilesProjectArtifactCollectionArtifactMembership,
9
17
  )
18
+ from .artifact_created_by import (
19
+ ArtifactCreatedBy,
20
+ ArtifactCreatedByArtifact,
21
+ ArtifactCreatedByArtifactCreatedByRun,
22
+ ArtifactCreatedByArtifactCreatedByRunProject,
23
+ ArtifactCreatedByArtifactCreatedByUser,
24
+ )
25
+ from .artifact_file_urls import ArtifactFileUrls, ArtifactFileUrlsArtifact
26
+ from .artifact_type import (
27
+ ArtifactType,
28
+ ArtifactTypeProject,
29
+ ArtifactTypeProjectArtifact,
30
+ ArtifactTypeProjectArtifactArtifactType,
31
+ )
32
+ from .artifact_used_by import (
33
+ ArtifactUsedBy,
34
+ ArtifactUsedByArtifact,
35
+ ArtifactUsedByArtifactUsedBy,
36
+ ArtifactUsedByArtifactUsedByEdges,
37
+ ArtifactUsedByArtifactUsedByEdgesNode,
38
+ ArtifactUsedByArtifactUsedByEdgesNodeProject,
39
+ )
10
40
  from .artifact_version_files import (
11
41
  ArtifactVersionFiles,
12
42
  ArtifactVersionFilesProject,
13
43
  ArtifactVersionFilesProjectArtifactType,
14
44
  ArtifactVersionFilesProjectArtifactTypeArtifact,
15
45
  )
46
+ from .artifact_via_membership_by_name import (
47
+ ArtifactViaMembershipByName,
48
+ ArtifactViaMembershipByNameProject,
49
+ )
16
50
  from .create_artifact_collection_tag_assignments import (
17
51
  CreateArtifactCollectionTagAssignments,
18
52
  CreateArtifactCollectionTagAssignmentsCreateArtifactCollectionTagAssignments,
19
53
  CreateArtifactCollectionTagAssignmentsCreateArtifactCollectionTagAssignmentsTags,
20
54
  )
21
55
  from .delete_aliases import DeleteAliases, DeleteAliasesDeleteAliases
56
+ from .delete_artifact import (
57
+ DeleteArtifact,
58
+ DeleteArtifactDeleteArtifact,
59
+ DeleteArtifactDeleteArtifactArtifact,
60
+ )
22
61
  from .delete_artifact_collection_tag_assignments import (
23
62
  DeleteArtifactCollectionTagAssignments,
24
63
  DeleteArtifactCollectionTagAssignmentsDeleteArtifactCollectionTagAssignments,
@@ -33,7 +72,14 @@ from .delete_artifact_sequence import (
33
72
  DeleteArtifactSequenceDeleteArtifactSequence,
34
73
  DeleteArtifactSequenceDeleteArtifactSequenceArtifactCollection,
35
74
  )
36
- from .enums import ArtifactCollectionState, ArtifactState
75
+ from .enums import ArtifactCollectionState, ArtifactCollectionType, ArtifactState
76
+ from .fetch_artifact_manifest import (
77
+ FetchArtifactManifest,
78
+ FetchArtifactManifestProject,
79
+ FetchArtifactManifestProjectArtifact,
80
+ FetchArtifactManifestProjectArtifactCurrentManifest,
81
+ FetchArtifactManifestProjectArtifactCurrentManifestFile,
82
+ )
37
83
  from .fetch_linked_artifacts import (
38
84
  FetchLinkedArtifacts,
39
85
  FetchLinkedArtifactsArtifact,
@@ -44,6 +90,11 @@ from .fetch_linked_artifacts import (
44
90
  FetchLinkedArtifactsArtifactArtifactMembershipsEdgesNodeArtifactCollection,
45
91
  FetchLinkedArtifactsArtifactArtifactMembershipsEdgesNodeArtifactCollectionProject,
46
92
  )
93
+ from .fetch_registries import (
94
+ FetchRegistries,
95
+ FetchRegistriesOrganization,
96
+ FetchRegistriesOrganizationOrgEntity,
97
+ )
47
98
  from .fragments import (
48
99
  ArtifactCollectionsFragment,
49
100
  ArtifactCollectionsFragmentEdges,
@@ -53,12 +104,13 @@ from .fragments import (
53
104
  ArtifactFragmentAliases,
54
105
  ArtifactFragmentAliasesArtifactCollection,
55
106
  ArtifactFragmentAliasesArtifactCollectionProject,
56
- ArtifactFragmentArtifactSequence,
57
- ArtifactFragmentArtifactSequenceProject,
58
- ArtifactFragmentArtifactType,
59
- ArtifactFragmentCurrentManifest,
60
- ArtifactFragmentCurrentManifestFile,
61
- ArtifactFragmentTags,
107
+ ArtifactFragmentWithoutAliases,
108
+ ArtifactFragmentWithoutAliasesArtifactSequence,
109
+ ArtifactFragmentWithoutAliasesArtifactSequenceProject,
110
+ ArtifactFragmentWithoutAliasesArtifactType,
111
+ ArtifactFragmentWithoutAliasesCurrentManifest,
112
+ ArtifactFragmentWithoutAliasesCurrentManifestFile,
113
+ ArtifactFragmentWithoutAliasesTags,
62
114
  ArtifactPortfolioTypeFields,
63
115
  ArtifactSequenceTypeFields,
64
116
  ArtifactsFragment,
@@ -72,6 +124,41 @@ from .fragments import (
72
124
  FilesFragmentEdges,
73
125
  FilesFragmentEdgesNode,
74
126
  FilesFragmentPageInfo,
127
+ FileUrlsFragment,
128
+ FileUrlsFragmentEdges,
129
+ FileUrlsFragmentEdgesNode,
130
+ FileUrlsFragmentPageInfo,
131
+ MembershipWithArtifact,
132
+ MembershipWithArtifactArtifactCollection,
133
+ MembershipWithArtifactArtifactCollectionProject,
134
+ RegistriesPage,
135
+ RegistriesPageEdges,
136
+ RegistriesPagePageInfo,
137
+ RegistryCollectionsPage,
138
+ RegistryCollectionsPageEdges,
139
+ RegistryCollectionsPageEdgesNode,
140
+ RegistryCollectionsPageEdgesNodeAliases,
141
+ RegistryCollectionsPageEdgesNodeAliasesEdges,
142
+ RegistryCollectionsPageEdgesNodeAliasesEdgesNode,
143
+ RegistryCollectionsPageEdgesNodeDefaultArtifactType,
144
+ RegistryCollectionsPageEdgesNodeProject,
145
+ RegistryCollectionsPageEdgesNodeProjectEntity,
146
+ RegistryCollectionsPageEdgesNodeTags,
147
+ RegistryCollectionsPageEdgesNodeTagsEdges,
148
+ RegistryCollectionsPageEdgesNodeTagsEdgesNode,
149
+ RegistryCollectionsPagePageInfo,
150
+ RegistryFragment,
151
+ RegistryFragmentArtifactTypes,
152
+ RegistryFragmentArtifactTypesEdges,
153
+ RegistryFragmentArtifactTypesEdgesNode,
154
+ RegistryVersionsPage,
155
+ RegistryVersionsPageEdges,
156
+ RegistryVersionsPageEdgesNode,
157
+ RegistryVersionsPageEdgesNodeAliases,
158
+ RegistryVersionsPageEdgesNodeArtifactCollection,
159
+ RegistryVersionsPageEdgesNodeArtifactCollectionProject,
160
+ RegistryVersionsPageEdgesNodeArtifactCollectionProjectEntity,
161
+ RegistryVersionsPagePageInfo,
75
162
  )
76
163
  from .input_types import (
77
164
  ArtifactAliasInput,
@@ -87,14 +174,25 @@ from .move_artifact_collection import (
87
174
  )
88
175
  from .operations import (
89
176
  ADD_ALIASES_GQL,
177
+ ARTIFACT_BY_ID_GQL,
178
+ ARTIFACT_BY_NAME_GQL,
179
+ ARTIFACT_COLLECTION_MEMBERSHIP_FILE_URLS_GQL,
90
180
  ARTIFACT_COLLECTION_MEMBERSHIP_FILES_GQL,
181
+ ARTIFACT_CREATED_BY_GQL,
182
+ ARTIFACT_FILE_URLS_GQL,
183
+ ARTIFACT_TYPE_GQL,
184
+ ARTIFACT_USED_BY_GQL,
91
185
  ARTIFACT_VERSION_FILES_GQL,
186
+ ARTIFACT_VIA_MEMBERSHIP_BY_NAME_GQL,
92
187
  CREATE_ARTIFACT_COLLECTION_TAG_ASSIGNMENTS_GQL,
93
188
  DELETE_ALIASES_GQL,
94
189
  DELETE_ARTIFACT_COLLECTION_TAG_ASSIGNMENTS_GQL,
190
+ DELETE_ARTIFACT_GQL,
95
191
  DELETE_ARTIFACT_PORTFOLIO_GQL,
96
192
  DELETE_ARTIFACT_SEQUENCE_GQL,
193
+ FETCH_ARTIFACT_MANIFEST_GQL,
97
194
  FETCH_LINKED_ARTIFACTS_GQL,
195
+ FETCH_REGISTRIES_GQL,
98
196
  LINK_ARTIFACT_GQL,
99
197
  MOVE_ARTIFACT_COLLECTION_GQL,
100
198
  PROJECT_ARTIFACT_COLLECTION_GQL,
@@ -102,8 +200,11 @@ from .operations import (
102
200
  PROJECT_ARTIFACT_TYPE_GQL,
103
201
  PROJECT_ARTIFACT_TYPES_GQL,
104
202
  PROJECT_ARTIFACTS_GQL,
203
+ REGISTRY_COLLECTIONS_GQL,
204
+ REGISTRY_VERSIONS_GQL,
105
205
  RUN_INPUT_ARTIFACTS_GQL,
106
206
  RUN_OUTPUT_ARTIFACTS_GQL,
207
+ UNLINK_ARTIFACT_GQL,
107
208
  UPDATE_ARTIFACT_GQL,
108
209
  UPDATE_ARTIFACT_PORTFOLIO_GQL,
109
210
  UPDATE_ARTIFACT_SEQUENCE_GQL,
@@ -135,6 +236,16 @@ from .project_artifacts import (
135
236
  ProjectArtifactsProjectArtifactType,
136
237
  ProjectArtifactsProjectArtifactTypeArtifactCollection,
137
238
  )
239
+ from .registry_collections import (
240
+ RegistryCollections,
241
+ RegistryCollectionsOrganization,
242
+ RegistryCollectionsOrganizationOrgEntity,
243
+ )
244
+ from .registry_versions import (
245
+ RegistryVersions,
246
+ RegistryVersionsOrganization,
247
+ RegistryVersionsOrganizationOrgEntity,
248
+ )
138
249
  from .run_input_artifacts import (
139
250
  RunInputArtifacts,
140
251
  RunInputArtifactsProject,
@@ -151,6 +262,7 @@ from .run_output_artifacts import (
151
262
  RunOutputArtifactsProjectRunOutputArtifactsEdges,
152
263
  RunOutputArtifactsProjectRunOutputArtifactsPageInfo,
153
264
  )
265
+ from .unlink_artifact import UnlinkArtifact, UnlinkArtifactUnlinkArtifact
154
266
  from .update_artifact import UpdateArtifact, UpdateArtifactUpdateArtifact
155
267
  from .update_artifact_portfolio import (
156
268
  UpdateArtifactPortfolio,
@@ -165,14 +277,25 @@ from .update_artifact_sequence import (
165
277
 
166
278
  __all__ = [
167
279
  "ADD_ALIASES_GQL",
280
+ "ARTIFACT_BY_ID_GQL",
281
+ "ARTIFACT_BY_NAME_GQL",
168
282
  "ARTIFACT_COLLECTION_MEMBERSHIP_FILES_GQL",
283
+ "ARTIFACT_COLLECTION_MEMBERSHIP_FILE_URLS_GQL",
284
+ "ARTIFACT_CREATED_BY_GQL",
285
+ "ARTIFACT_FILE_URLS_GQL",
286
+ "ARTIFACT_TYPE_GQL",
287
+ "ARTIFACT_USED_BY_GQL",
169
288
  "ARTIFACT_VERSION_FILES_GQL",
289
+ "ARTIFACT_VIA_MEMBERSHIP_BY_NAME_GQL",
170
290
  "CREATE_ARTIFACT_COLLECTION_TAG_ASSIGNMENTS_GQL",
171
291
  "DELETE_ALIASES_GQL",
172
292
  "DELETE_ARTIFACT_COLLECTION_TAG_ASSIGNMENTS_GQL",
293
+ "DELETE_ARTIFACT_GQL",
173
294
  "DELETE_ARTIFACT_PORTFOLIO_GQL",
174
295
  "DELETE_ARTIFACT_SEQUENCE_GQL",
296
+ "FETCH_ARTIFACT_MANIFEST_GQL",
175
297
  "FETCH_LINKED_ARTIFACTS_GQL",
298
+ "FETCH_REGISTRIES_GQL",
176
299
  "LINK_ARTIFACT_GQL",
177
300
  "MOVE_ARTIFACT_COLLECTION_GQL",
178
301
  "PROJECT_ARTIFACTS_GQL",
@@ -180,8 +303,11 @@ __all__ = [
180
303
  "PROJECT_ARTIFACT_COLLECTION_GQL",
181
304
  "PROJECT_ARTIFACT_TYPES_GQL",
182
305
  "PROJECT_ARTIFACT_TYPE_GQL",
306
+ "REGISTRY_COLLECTIONS_GQL",
307
+ "REGISTRY_VERSIONS_GQL",
183
308
  "RUN_INPUT_ARTIFACTS_GQL",
184
309
  "RUN_OUTPUT_ARTIFACTS_GQL",
310
+ "UNLINK_ARTIFACT_GQL",
185
311
  "UPDATE_ARTIFACT_GQL",
186
312
  "UPDATE_ARTIFACT_PORTFOLIO_GQL",
187
313
  "UPDATE_ARTIFACT_SEQUENCE_GQL",
@@ -228,6 +354,12 @@ __all__ = [
228
354
  "ArtifactCollectionMembershipFilesProject",
229
355
  "ArtifactCollectionMembershipFilesProjectArtifactCollection",
230
356
  "ArtifactCollectionMembershipFilesProjectArtifactCollectionArtifactMembership",
357
+ "ArtifactCollectionMembershipFileUrls",
358
+ "ArtifactCollectionMembershipFileUrlsProject",
359
+ "ArtifactCollectionMembershipFileUrlsProjectArtifactCollection",
360
+ "ArtifactCollectionMembershipFileUrlsProjectArtifactCollectionArtifactMembership",
361
+ "ArtifactFileUrls",
362
+ "ArtifactFileUrlsArtifact",
231
363
  "ProjectArtifactTypes",
232
364
  "ProjectArtifactTypesProject",
233
365
  "ProjectArtifactType",
@@ -256,14 +388,53 @@ __all__ = [
256
388
  "FetchLinkedArtifactsArtifactArtifactMembershipsEdgesNodeAliases",
257
389
  "FetchLinkedArtifactsArtifactArtifactMembershipsEdgesNodeArtifactCollection",
258
390
  "FetchLinkedArtifactsArtifactArtifactMembershipsEdgesNodeArtifactCollectionProject",
391
+ "FetchArtifactManifest",
392
+ "FetchArtifactManifestProject",
393
+ "FetchArtifactManifestProjectArtifact",
394
+ "FetchArtifactManifestProjectArtifactCurrentManifest",
395
+ "FetchArtifactManifestProjectArtifactCurrentManifestFile",
396
+ "ArtifactByID",
397
+ "ArtifactByName",
398
+ "ArtifactByNameProject",
399
+ "ArtifactViaMembershipByName",
400
+ "ArtifactViaMembershipByNameProject",
401
+ "ArtifactUsedBy",
402
+ "ArtifactUsedByArtifact",
403
+ "ArtifactUsedByArtifactUsedBy",
404
+ "ArtifactUsedByArtifactUsedByEdges",
405
+ "ArtifactUsedByArtifactUsedByEdgesNode",
406
+ "ArtifactUsedByArtifactUsedByEdgesNodeProject",
407
+ "ArtifactCreatedBy",
408
+ "ArtifactCreatedByArtifact",
409
+ "ArtifactCreatedByArtifactCreatedByRun",
410
+ "ArtifactCreatedByArtifactCreatedByRunProject",
411
+ "ArtifactCreatedByArtifactCreatedByUser",
412
+ "ArtifactType",
413
+ "ArtifactTypeProject",
414
+ "ArtifactTypeProjectArtifact",
415
+ "ArtifactTypeProjectArtifactArtifactType",
259
416
  "AddAliases",
260
417
  "AddAliasesAddAliases",
261
418
  "DeleteAliases",
262
419
  "DeleteAliasesDeleteAliases",
263
420
  "UpdateArtifact",
264
421
  "UpdateArtifactUpdateArtifact",
422
+ "DeleteArtifact",
423
+ "DeleteArtifactDeleteArtifact",
424
+ "DeleteArtifactDeleteArtifactArtifact",
265
425
  "LinkArtifact",
266
426
  "LinkArtifactLinkArtifact",
427
+ "UnlinkArtifact",
428
+ "UnlinkArtifactUnlinkArtifact",
429
+ "RegistryVersions",
430
+ "RegistryVersionsOrganization",
431
+ "RegistryVersionsOrganizationOrgEntity",
432
+ "RegistryCollections",
433
+ "RegistryCollectionsOrganization",
434
+ "RegistryCollectionsOrganizationOrgEntity",
435
+ "FetchRegistries",
436
+ "FetchRegistriesOrganization",
437
+ "FetchRegistriesOrganizationOrgEntity",
267
438
  "ArtifactAliasInput",
268
439
  "ArtifactCollectionAliasInput",
269
440
  "LinkArtifactInput",
@@ -276,12 +447,13 @@ __all__ = [
276
447
  "ArtifactFragmentAliases",
277
448
  "ArtifactFragmentAliasesArtifactCollection",
278
449
  "ArtifactFragmentAliasesArtifactCollectionProject",
279
- "ArtifactFragmentArtifactSequence",
280
- "ArtifactFragmentArtifactSequenceProject",
281
- "ArtifactFragmentArtifactType",
282
- "ArtifactFragmentCurrentManifest",
283
- "ArtifactFragmentCurrentManifestFile",
284
- "ArtifactFragmentTags",
450
+ "ArtifactFragmentWithoutAliases",
451
+ "ArtifactFragmentWithoutAliasesArtifactSequence",
452
+ "ArtifactFragmentWithoutAliasesArtifactSequenceProject",
453
+ "ArtifactFragmentWithoutAliasesArtifactType",
454
+ "ArtifactFragmentWithoutAliasesCurrentManifest",
455
+ "ArtifactFragmentWithoutAliasesCurrentManifestFile",
456
+ "ArtifactFragmentWithoutAliasesTags",
285
457
  "ArtifactPortfolioTypeFields",
286
458
  "ArtifactSequenceTypeFields",
287
459
  "ArtifactTypeFragment",
@@ -291,10 +463,46 @@ __all__ = [
291
463
  "ArtifactsFragment",
292
464
  "ArtifactsFragmentEdges",
293
465
  "ArtifactsFragmentPageInfo",
466
+ "FileUrlsFragment",
467
+ "FileUrlsFragmentEdges",
468
+ "FileUrlsFragmentEdgesNode",
469
+ "FileUrlsFragmentPageInfo",
294
470
  "FilesFragment",
295
471
  "FilesFragmentEdges",
296
472
  "FilesFragmentEdgesNode",
297
473
  "FilesFragmentPageInfo",
474
+ "MembershipWithArtifact",
475
+ "MembershipWithArtifactArtifactCollection",
476
+ "MembershipWithArtifactArtifactCollectionProject",
477
+ "RegistriesPage",
478
+ "RegistriesPageEdges",
479
+ "RegistriesPagePageInfo",
480
+ "RegistryCollectionsPage",
481
+ "RegistryCollectionsPageEdges",
482
+ "RegistryCollectionsPageEdgesNode",
483
+ "RegistryCollectionsPageEdgesNodeAliases",
484
+ "RegistryCollectionsPageEdgesNodeAliasesEdges",
485
+ "RegistryCollectionsPageEdgesNodeAliasesEdgesNode",
486
+ "RegistryCollectionsPageEdgesNodeDefaultArtifactType",
487
+ "RegistryCollectionsPageEdgesNodeProject",
488
+ "RegistryCollectionsPageEdgesNodeProjectEntity",
489
+ "RegistryCollectionsPageEdgesNodeTags",
490
+ "RegistryCollectionsPageEdgesNodeTagsEdges",
491
+ "RegistryCollectionsPageEdgesNodeTagsEdgesNode",
492
+ "RegistryCollectionsPagePageInfo",
493
+ "RegistryFragment",
494
+ "RegistryFragmentArtifactTypes",
495
+ "RegistryFragmentArtifactTypesEdges",
496
+ "RegistryFragmentArtifactTypesEdgesNode",
497
+ "RegistryVersionsPage",
498
+ "RegistryVersionsPageEdges",
499
+ "RegistryVersionsPageEdgesNode",
500
+ "RegistryVersionsPageEdgesNodeAliases",
501
+ "RegistryVersionsPageEdgesNodeArtifactCollection",
502
+ "RegistryVersionsPageEdgesNodeArtifactCollectionProject",
503
+ "RegistryVersionsPageEdgesNodeArtifactCollectionProjectEntity",
504
+ "RegistryVersionsPagePageInfo",
298
505
  "ArtifactCollectionState",
506
+ "ArtifactCollectionType",
299
507
  "ArtifactState",
300
508
  ]
@@ -0,0 +1,17 @@
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 wandb._pydantic import GQLBase
9
+
10
+ from .fragments import ArtifactFragment
11
+
12
+
13
+ class ArtifactByID(GQLBase):
14
+ artifact: Optional[ArtifactFragment]
15
+
16
+
17
+ ArtifactByID.model_rebuild()
@@ -0,0 +1,22 @@
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 wandb._pydantic import GQLBase
9
+
10
+ from .fragments import ArtifactFragment
11
+
12
+
13
+ class ArtifactByName(GQLBase):
14
+ project: Optional[ArtifactByNameProject]
15
+
16
+
17
+ class ArtifactByNameProject(GQLBase):
18
+ artifact: Optional[ArtifactFragment]
19
+
20
+
21
+ ArtifactByName.model_rebuild()
22
+ ArtifactByNameProject.model_rebuild()
@@ -0,0 +1,43 @@
1
+ # Generated by ariadne-codegen
2
+ # Source: tools/graphql_codegen/artifacts/
3
+
4
+ from __future__ import annotations
5
+
6
+ from typing import Literal, Optional
7
+
8
+ from pydantic import Field
9
+
10
+ from wandb._pydantic import GQLBase, Typename
11
+
12
+ from .fragments import FileUrlsFragment
13
+
14
+
15
+ class ArtifactCollectionMembershipFileUrls(GQLBase):
16
+ project: Optional[ArtifactCollectionMembershipFileUrlsProject]
17
+
18
+
19
+ class ArtifactCollectionMembershipFileUrlsProject(GQLBase):
20
+ artifact_collection: Optional[
21
+ ArtifactCollectionMembershipFileUrlsProjectArtifactCollection
22
+ ] = Field(alias="artifactCollection")
23
+
24
+
25
+ class ArtifactCollectionMembershipFileUrlsProjectArtifactCollection(GQLBase):
26
+ typename__: Typename[
27
+ Literal["ArtifactCollection", "ArtifactPortfolio", "ArtifactSequence"]
28
+ ]
29
+ artifact_membership: Optional[
30
+ ArtifactCollectionMembershipFileUrlsProjectArtifactCollectionArtifactMembership
31
+ ] = Field(alias="artifactMembership")
32
+
33
+
34
+ class ArtifactCollectionMembershipFileUrlsProjectArtifactCollectionArtifactMembership(
35
+ GQLBase
36
+ ):
37
+ files: Optional[FileUrlsFragment]
38
+
39
+
40
+ ArtifactCollectionMembershipFileUrls.model_rebuild()
41
+ ArtifactCollectionMembershipFileUrlsProject.model_rebuild()
42
+ ArtifactCollectionMembershipFileUrlsProjectArtifactCollection.model_rebuild()
43
+ ArtifactCollectionMembershipFileUrlsProjectArtifactCollectionArtifactMembership.model_rebuild()
@@ -0,0 +1,47 @@
1
+ # Generated by ariadne-codegen
2
+ # Source: tools/graphql_codegen/artifacts/
3
+
4
+ from __future__ import annotations
5
+
6
+ from typing import Literal, Optional, Union
7
+
8
+ from pydantic import Field
9
+ from typing_extensions import Annotated
10
+
11
+ from wandb._pydantic import GQLBase, Typename
12
+
13
+
14
+ class ArtifactCreatedBy(GQLBase):
15
+ artifact: Optional[ArtifactCreatedByArtifact]
16
+
17
+
18
+ class ArtifactCreatedByArtifact(GQLBase):
19
+ created_by: Optional[
20
+ Annotated[
21
+ Union[
22
+ ArtifactCreatedByArtifactCreatedByRun,
23
+ ArtifactCreatedByArtifactCreatedByUser,
24
+ ],
25
+ Field(discriminator="typename__"),
26
+ ]
27
+ ] = Field(alias="createdBy")
28
+
29
+
30
+ class ArtifactCreatedByArtifactCreatedByRun(GQLBase):
31
+ typename__: Typename[Literal["Run"]]
32
+ name: str
33
+ project: Optional[ArtifactCreatedByArtifactCreatedByRunProject]
34
+
35
+
36
+ class ArtifactCreatedByArtifactCreatedByRunProject(GQLBase):
37
+ name: str
38
+ entity_name: str = Field(alias="entityName")
39
+
40
+
41
+ class ArtifactCreatedByArtifactCreatedByUser(GQLBase):
42
+ typename__: Typename[Literal["User"]]
43
+
44
+
45
+ ArtifactCreatedBy.model_rebuild()
46
+ ArtifactCreatedByArtifact.model_rebuild()
47
+ ArtifactCreatedByArtifactCreatedByRun.model_rebuild()
@@ -0,0 +1,22 @@
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 wandb._pydantic import GQLBase
9
+
10
+ from .fragments import FileUrlsFragment
11
+
12
+
13
+ class ArtifactFileUrls(GQLBase):
14
+ artifact: Optional[ArtifactFileUrlsArtifact]
15
+
16
+
17
+ class ArtifactFileUrlsArtifact(GQLBase):
18
+ files: Optional[FileUrlsFragment]
19
+
20
+
21
+ ArtifactFileUrls.model_rebuild()
22
+ ArtifactFileUrlsArtifact.model_rebuild()
@@ -0,0 +1,31 @@
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 GQLBase
11
+
12
+
13
+ class ArtifactType(GQLBase):
14
+ project: Optional[ArtifactTypeProject]
15
+
16
+
17
+ class ArtifactTypeProject(GQLBase):
18
+ artifact: Optional[ArtifactTypeProjectArtifact]
19
+
20
+
21
+ class ArtifactTypeProjectArtifact(GQLBase):
22
+ artifact_type: ArtifactTypeProjectArtifactArtifactType = Field(alias="artifactType")
23
+
24
+
25
+ class ArtifactTypeProjectArtifactArtifactType(GQLBase):
26
+ name: str
27
+
28
+
29
+ ArtifactType.model_rebuild()
30
+ ArtifactTypeProject.model_rebuild()
31
+ ArtifactTypeProjectArtifact.model_rebuild()