Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add support for setting Run name via Run.__init__Β #2190

@vakker

Description

@vakker

πŸ› Bug

When I set the run_hash manually I get:

Setting custom `Run.hash` value is deprecated! Consider setting `Run.name` instead. This functionality will be removed in version 3.15.

To reproduce

aim.Run(experiment="asd", run_hash="potato")

Expected behavior

The warning is clear per se, however the fix is not.
It comes from here.
The Run class doesn't have a name property, nor a parameter to its __init__.
Am I missing something?

Environment

  • Aim Version: v3.13.3
  • Python version: 3.9.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    area / SDK-storageIssue area: SDK and storage related issueshelp wantedExtra attention is neededphase / exploringIssue phase: issue is in discovery phasetype / bugIssue type: something isn't working

    Type

    No type

    Projects

    Status

    Next-up

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions