Skip to content

Commit

Permalink
fix(sdk): adjust ipython hooks for v8.17 (#6563)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryduev authored Nov 7, 2023
1 parent b86aaff commit bc7f976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wandb/sdk/wandb_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ def _safe_symlink(
except OSError:
pass

def _pause_backend(self) -> None:
def _pause_backend(self, *args: Any, **kwargs: Any) -> None: # noqa
if self.backend is None:
return None

Expand All @@ -435,7 +435,7 @@ def _pause_backend(self) -> None:
logger.info("pausing backend") # type: ignore
self.backend.interface.publish_pause()

def _resume_backend(self) -> None:
def _resume_backend(self, *args: Any, **kwargs: Any) -> None: # noqa
if self.backend is not None and self.backend.interface is not None:
logger.info("resuming backend") # type: ignore
self.backend.interface.publish_resume()
Expand Down

0 comments on commit bc7f976

Please sign in to comment.