diff --git a/pyproject.toml b/pyproject.toml index 0cead74..182e4e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ build-backend = "hatchling.build" [project] name = "swankit" -version = "0.1.0b10" +version = "0.1.0" dynamic = ["readme"] description = "Base toolkit for SwanLab" license = "Apache-2.0" diff --git a/swankit/callback/models/key.py b/swankit/callback/models/key.py index 85f4b35..7aad74d 100644 --- a/swankit/callback/models/key.py +++ b/swankit/callback/models/key.py @@ -20,6 +20,7 @@ class ColumnInfo: def __init__( self, + key_id: str, key: str, namespace: str, chart: ChartType, @@ -28,6 +29,10 @@ def __init__( reference: Optional[str] = None, config: Optional[Dict] = None, ): + self.id = key_id + """ + 当前实验下,列的唯一id,与保存路径等信息有关 + """ self.key = key """ 列的key名称