Skip to content

Commit f2549fb

Browse files
committed
try to fix typing errors
1 parent 30edd5d commit f2549fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autointent/_callbacks/wandb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def log_final_metrics(self, metrics: dict[str, Any]) -> None:
105105
}
106106

107107
try:
108-
self.wandb.init(config=metrics, **wandb_run_init_args) # type: ignore[arg-type]
108+
self.wandb.init(config=metrics, **wandb_run_init_args)
109109
except Exception as e:
110110
if "run config cannot exceed" not in str(e):
111111
# https://github.com/deeppavlov/AutoIntent/issues/202
@@ -115,7 +115,7 @@ def log_final_metrics(self, metrics: dict[str, Any]) -> None:
115115
logger.warning("If you want to access modules configs in future, address to the individual modules runs")
116116
self.wandb.init(
117117
config={},
118-
**wandb_run_init_args, # type: ignore[arg-type]
118+
**wandb_run_init_args,
119119
)
120120

121121
self.wandb.log(metrics.get("pipeline_metrics", {}))

0 commit comments

Comments
 (0)