Skip to content

Commit

Permalink
delete:params
Browse files Browse the repository at this point in the history
  • Loading branch information
SAKURA-CAT committed Sep 20, 2024
1 parent 8540d8f commit e6e08f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ build-backend = "hatchling.build"

[project]
name = "swankit"
version = "0.1.1b2"
version = "0.1.1b3"
dynamic = ["readme"]
description = "Base toolkit for SwanLab"
license = "Apache-2.0"
Expand Down
8 changes: 1 addition & 7 deletions swankit/callback/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
回调类,规定回调函数的接口规范。
"""

from typing import Callable
from abc import ABC, abstractmethod
from .models import *
from swankit.core import SwanLabSharedSettings
Expand Down Expand Up @@ -42,19 +41,14 @@ def before_init_experiment(
run_id: str,
exp_name: str,
description: str,
num: int,
suffix: str,
setter: Callable[[str, str, str, str], None],
num: int
):
"""
在初始化实验之前调用,此时SwanLabRun已经初始化完毕
FIXME setter函数实际上并不应该被传递,现在是因为存在实验名称不能重复的历史遗留问题
:param run_id: str, SwanLabRun的运行id
:param exp_name: str, 实验名称
:param description: str, 实验描述
:param num: int, 历史实验数量
:param suffix: str, 实验后缀
:param setter: Callable[[str, str, str, str], None], 设置实验信息的函数,在这里设置实验信息
"""
pass

Expand Down

0 comments on commit e6e08f1

Please sign in to comment.