Skip to content

Upgrading wandb 0.25 to 0.26

Review needed0.25.1 → 0.26.1New18Changed6Fixed7

Review neededUpgrade verdict

6 changed defaults.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • removed: method Api.fail_run_queue_item_introspection(*args, **kwargs)
  • removed: method Api.launch_agent_introspection(*args, **kwargs)
  • added: constructor RelayPaginator(client: RetryingClient, variables: Mapping[str, Any], per_page: int=…, start: str | None=…)
  • added: field SizedPaginator.last_response: dict[str, Any] | None
  • added: export AgentRuns
  • changed: method Api.artifact_collections(project_name: str, type_name: str, per_page: int=…) -> ArtifactCollections → method Api.artifact_collections(project_name: str, type_name: str, per_page: int=…, start: str | None=…) -> ArtifactCollections
  • changed: method Api.artifact_types(project: str | None=…) -> ArtifactTypes → method Api.artifact_types(project: str | None=…, start: str | None=…) -> ArtifactTypes
  • changed: method Api.artifacts(type_name: str, name: str, per_page: int=…, tags: list[str] | None=…) -> Artifacts → method Api.artifacts(type_name: str, name: str, per_page: int=…, tags: list[str] | None=…, start: str | None=…) -> Artifacts
  • changed: method Api.automations(entity: str | None=…, *, name: str | None=…, per_page: int=…) -> Iterator[Automation] → method Api.automations(entity: str | None=…, *, name: str | None=…, per_page: int=…, start: str | None=…) -> Iterator[Automation]
  • changed: method Api.integrations(entity: str | None=…, *, per_page: int=…) -> Iterator[Integration] → method Api.integrations(entity: str | None=…, *, per_page: int=…, start: str | None=…) -> Iterator[Integration]
  • changed: method Api.registries(organization: str | None=…, filter: dict[str, Any] | None=…, per_page: int=…) -> Registries → method Api.registries(organization: str | None=…, filter: dict[str, Any] | None=…, per_page: int=…, start: str | None=…) -> Registries
  • changed: method Api.slack_integrations(*, entity: str | None=…, per_page: int=…) -> Iterator[SlackIntegration] → method Api.slack_integrations(*, entity: str | None=…, per_page: int=…, start: str | None=…) -> Iterator[SlackIntegration]
  • changed: method Api.webhook_integrations(entity: str | None=…, *, per_page: int=…) -> Iterator[WebhookIntegration] → method Api.webhook_integrations(entity: str | None=…, *, per_page: int=…, start: str | None=…) -> Iterator[WebhookIntegration]
  • changed: constructor ArtifactCollections(client: RetryingClient, entity: str, project: str, type_name: str, filters: Mapping[str, Any] | None=…, order: str | None=…, per_page: int=…) → constructor ArtifactCollections(client: RetryingClient, entity: str, project: str, type_name: str, filters: Mapping[str, Any] | None=…, order: str | None=…, per_page: int=…, start: str | None=…)
  • changed: constructor ArtifactFiles(client: RetryingClient, artifact: Artifact, names: Sequence[str] | None=…, per_page: int=…) → constructor ArtifactFiles(client: RetryingClient, artifact: Artifact, names: Sequence[str] | None=…, per_page: int=…, start: str | None=…)
  • changed: constructor ArtifactTypes(client: RetryingClient, entity: str, project: str, per_page: int=…) → constructor ArtifactTypes(client: RetryingClient, entity: str, project: str, per_page: int=…, start: str | None=…)
  • changed: constructor Artifacts(client: RetryingClient, entity: str, project: str, collection_name: str, type: str, filters: Mapping[str, Any] | None=…, order: str | None=…, per_page: int=…, tags: str | list[str] | None=…) → constructor Artifacts(client: RetryingClient, entity: str, project: str, collection_name: str, type: str, filters: Mapping[str, Any] | None=…, order: str | None=…, per_page: int=…, tags: str | list[str] | None=…, start: str | None=…)
  • changed: constructor ProjectArtifactCollections(client: RetryingClient, entity: str, project: str, filters: Mapping[str, Any] | None=…, order: str | None=…, per_page: int=…) → constructor ProjectArtifactCollections(client: RetryingClient, entity: str, project: str, filters: Mapping[str, Any] | None=…, order: str | None=…, per_page: int=…, start: str | None=…)
  • changed: constructor RunArtifacts(client: RetryingClient, run: Run, mode: Literal['logged', 'used']=…, per_page: int=…) → constructor RunArtifacts(client: RetryingClient, run: Run, mode: Literal['logged', 'used']=…, per_page: int=…, start: str | None=…)
  • changed: method ArtifactCollection.artifacts(per_page: int=…) -> Artifacts → method ArtifactCollection.artifacts(per_page: int=…, start: str | None=…) -> Artifacts
  • changed: method ArtifactType.collections(filters: Mapping[str, Any] | None=…, order: str | None=…, per_page: int=…) -> ArtifactCollections → method ArtifactType.collections(filters: Mapping[str, Any] | None=…, order: str | None=…, per_page: int=…, start: str | None=…) -> ArtifactCollections
  • changed: constructor Automations(client: RetryingClient, variables: Mapping[str, Any], per_page: int=…, *, _query: Document) → constructor Automations(client: RetryingClient, variables: Mapping[str, Any], per_page: int=…, *, start: str | None=…, _query: Document)
  • added: property BetaHistoryScan.max_step -> int
  • added: property HistoryScan.max_step -> int
  • added: property SampledHistoryScan.max_step -> int
  • changed: constructor Integrations(client: RetryingClient, variables: dict[str, Any], per_page: int=…) → constructor Integrations(client: RetryingClient, variables: dict[str, Any], per_page: int=…, start: str | None=…)
  • changed: constructor Collections(client: RetryingClient, organization: str, registry_filter: dict[str, Any] | None=…, collection_filter: dict[str, Any] | None=…, per_page: PositiveInt=…) → constructor Collections(client: RetryingClient, organization: str, registry_filter: dict[str, Any] | None=…, collection_filter: dict[str, Any] | None=…, per_page: PositiveInt=…, start: str | None=…)
  • changed: constructor Registries(client: RetryingClient, organization: str, filter: dict[str, Any] | None=…, per_page: PositiveInt=…) → constructor Registries(client: RetryingClient, organization: str, filter: dict[str, Any] | None=…, per_page: PositiveInt=…, start: str | None=…)
  • changed: constructor Versions(client: RetryingClient, organization: str, registry_filter: dict[str, Any] | None=…, collection_filter: dict[str, Any] | None=…, artifact_filter: dict[str, Any] | None=…, per_page: PositiveInt=…) → constructor Versions(client: RetryingClient, organization: str, registry_filter: dict[str, Any] | None=…, collection_filter: dict[str, Any] | None=…, artifact_filter: dict[str, Any] | None=…, per_page: PositiveInt=…, start: str | None=…)
  • changed: method Collections.versions(filter: dict[str, Any] | None=…, per_page: PositiveInt=…) -> Versions → method Collections.versions(filter: dict[str, Any] | None=…, per_page: PositiveInt=…, start: str | None=…) -> Versions
  • changed: method Registries.collections(filter: dict[str, Any] | None=…, per_page: PositiveInt=…) -> Collections → method Registries.collections(filter: dict[str, Any] | None=…, per_page: PositiveInt=…, start: str | None=…) -> Collections
  • changed: method Registries.versions(filter: dict[str, Any] | None=…, per_page: PositiveInt=…) -> Versions → method Registries.versions(filter: dict[str, Any] | None=…, per_page: PositiveInt=…, start: str | None=…) -> Versions
  • changed: method Registry.collections(filter: dict[str, Any] | None=…, per_page: PositiveInt=…) -> Collections → method Registry.collections(filter: dict[str, Any] | None=…, per_page: PositiveInt=…, start: str | None=…) -> Collections
  • changed: method Registry.versions(filter: dict[str, Any] | None=…, per_page: PositiveInt=…) -> Versions → method Registry.versions(filter: dict[str, Any] | None=…, per_page: PositiveInt=…, start: str | None=…) -> Versions
  • added: class AgentRuns(SizedPaginator['Run'])
  • added: constructor AgentRuns(client: RetryingClient, entity: str, project: str, sweep_id: str, agent_key: str, *, total_runs: int, order: str=…, per_page: int=…, service_api: ServiceApi | None=…) -> None
  • added: method AgentRuns.convert_objects() -> list[Run]
  • added: method AgentRuns.update_variables() -> None
  • added: property AgentRuns.cursor -> str | None
  • added: property AgentRuns.more -> bool
  • added: method ServiceApi.feature_enabled(feature: pb.ServerFeature | str, *, timeout: float=…) -> bool
  • added: class Agent(Attrs)
  • added: constructor Agent(client: RetryingClient, attrs: Mapping[str, Any], entity: str, project: str, sweep_id: str) -> None
  • added: method Agent.runs(per_page: int=…) -> AgentRuns
  • added: method Sweep.agent(agent_id: str) -> Agent
  • added: method Sweep.agents() -> list[Agent]
  • changed: constructor User(client: RetryingClient, attrs: MutableMapping[str, Any]) → constructor User(client: RetryingClient, attrs: MutableMapping[str, Any], api_key: str | None=…)
  • added: function core() -> None
  • added: function start(idle_timeout: str) -> None
  • added: function stop() -> None
  • added: function symon(pprof: str=…, interval: str=…) -> None
  • added: function start(*, idle_timeout: str) -> None
  • added: function stop(*, exit_code: int=…) -> None
  • added: variable DEFAULT_IDLE_TIMEOUT
  • added: function launch_symon(pprof: str=…, interval: str=…) -> Never
  • added: variable DISABLE_ORJSON
  • removed: export wandb_log
  • added: function wandb_log(func: Callable[_P, _T]) -> Callable[_P, _T] | (**kwargs: Any) -> Callable[[Callable[_P, _T]], Callable[_P, _T]]
  • removed: function create_component_from_func(func: Callable, output_component_file: str | None=…, base_image: str | None=…, packages_to_install: list[str] | None=…, annotations: Mapping[str, str] | None=…)
  • removed: function full_path_exists(full_func)
  • removed: function patch(module_name, func)
  • removed: function strip_type_hints(source_code: str) -> str
  • removed: function unpatch(module_name)
  • removed: function wandb_log(func=…, log_component_file=…)
  • removed: variable decorator_code
  • removed: variable wandb_logging_extras
  • changed: function patch_kfp() → function patch_kfp() -> None
  • changed: function unpatch_kfp() → function unpatch_kfp() -> None
  • added: function wandb_log(func=…, log_component_file=…)
  • added: function wandb_log(func: Callable | None=…) -> Callable
  • removed: function wandb_log(func=…, log_component_file=…)
  • added: variable DESCRIPTOR
  • added: variable DESCRIPTOR
  • added: variable DESCRIPTOR
  • added: variable DESCRIPTOR
  • added: variable DESCRIPTOR
  • added: variable DESCRIPTOR
  • added: variable DESCRIPTOR
  • removed: function get_pip_package_version(package_name: str) -> str
  • removed: variable proto_root
  • removed: variable protobuf_version
  • removed: variable tmp_out: pathlib.Path
  • changed: method Artifact.files(names: list[str] | None=…, per_page: int=…) -> ArtifactFiles → method Artifact.files(names: list[str] | None=…, per_page: int=…, start: str | None=…) -> ArtifactFiles
  • removed: class Backend
  • removed: constructor Backend(settings: Settings, service: service_connection.ServiceConnection | None=…) -> None
  • removed: field Backend.interface: InterfaceBase | None
  • removed: method Backend.cleanup() -> None
  • removed: method Backend.ensure_launched() -> None
  • removed: method Backend.server_status() -> None
  • removed: variable logger
  • removed: method InterfaceBase.deliver_finish_without_exit() -> MailboxHandle[pb.Result]
  • removed: method InterfaceBase.publish_exit(exit_code: int | None) -> None
  • changed: function file_enum_to_policy(enum: pb.FilesItem.PolicyType.V) -> PolicyName → function file_enum_to_policy(enum: pb.FilesItem.PolicyType) -> PolicyName
  • changed: function file_policy_to_enum(policy: PolicyName) -> pb.FilesItem.PolicyType.V → function file_policy_to_enum(policy: PolicyName) -> pb.FilesItem.PolicyType
  • removed: method Api.create_default_resource_config_introspection() -> bool
  • removed: method Api.create_launch_agent_fields_introspection() -> list
  • removed: method Api.create_run_files_introspection() -> bool
  • removed: method Api.create_run_queue_introspection() -> tuple[bool, bool, bool]
  • removed: method Api.fail_run_queue_item_fields_introspection() -> list
  • removed: method Api.fail_run_queue_item_introspection() -> bool
  • removed: method Api.launch_agent_introspection() -> str | None
  • removed: method Api.push_to_run_queue_introspection() -> tuple[bool, bool]
  • removed: method Api.server_artifact_introspection() -> list[str]
  • removed: method Api.server_create_artifact_file_spec_input_introspection() -> list
  • removed: method Api.server_create_artifact_introspection() -> list[str]
  • removed: method Api.server_info_introspection() -> tuple[list[str], list[str], list[str]]
  • removed: method Api.server_organization_type_introspection() -> list[str]
  • removed: method Api.server_project_type_introspection() -> bool
  • removed: method Api.server_settings_introspection() -> None
  • removed: method Api.server_use_artifact_input_introspection() -> list
  • removed: method Api.update_run_queue_item_warning_introspection() -> bool
  • removed: method Api.upsert_run_queue_introspection() -> bool
  • changed: method Api.create_launch_agent(entity: str, project: str, queues: list[str], agent_config: dict[str, Any], version: str, gorilla_agent_support: bool) -> dict → method Api.create_launch_agent(entity: str, project: str, queues: list[str], agent_config: dict[str, Any], version: str) -> dict
  • changed: method Api.get_launch_agent(agent_id: str, gorilla_agent_support: bool) -> dict → method Api.get_launch_agent(agent_id: str) -> dict
  • changed: method Api.update_launch_agent_status(agent_id: str, status: str, gorilla_agent_support: bool) -> dict → method Api.update_launch_agent_status(agent_id: str, status: str) -> dict
  • added: function apply_code_mount_configuration_emptydir(manifest: dict | list, project: LaunchProject, api: Api) -> None
  • added: function link_or_copy(settings: Settings, src: Path, dst: Path) -> Literal['symlink', 'hardlink', 'copy']
  • removed: method ServiceConnection.make_interface(stream_id: str) -> InterfaceBase
  • changed: method ServiceConnection.inform_attach(attach_id: str) -> wandb_settings_pb2.Settings → method ServiceConnection.inform_attach(attach_id: str) -> tuple[wandb_settings_pb2.Settings, InterfaceBase]
  • changed: method ServiceConnection.inform_init(settings: wandb_settings_pb2.Settings, run_id: str) -> None → method ServiceConnection.inform_init(settings: wandb_settings_pb2.Settings, run_id: str) -> InterfaceBase
  • added: property ServiceConnection.owns_service -> bool
  • added: function start_detached(settings: Settings, *, idle_timeout: str=…) -> ServiceProcess
  • added: variable DEFAULT_DETACHED_IDLE_TIMEOUT
  • added: property ServiceToken.env_value -> str
  • changed: constructor RunStatusChecker(run_id: str, interface: InterfaceBase, settings: Settings, stop_polling_interval: int=…, retry_polling_interval: int=…, internal_messages_polling_interval: int=…) -> None → constructor RunStatusChecker(run_id: str, interface: InterfaceBase, settings: Settings, retry_polling_interval: int=…, internal_messages_polling_interval: int=…) -> None
  • added: method Run.pin_config_keys(keys: Sequence[str]=…) -> None
  • added: field Settings.allow_media_symlink: bool
  • added: field Settings.disable_git_fork_point: bool
  • added: field Settings.stop_fn: Optional[Callable[[], None]]