Skip to content

Commit

Permalink
fix backed backward comp
Browse files Browse the repository at this point in the history
  • Loading branch information
Koncopd committed Jul 26, 2024
1 parent ccd0e87 commit 85e562f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lamindb/_artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,10 +862,10 @@ def replace(

# deprecated
def backed(
self, is_run_input: bool | None = None
self, mode: str = "r", is_run_input: bool | None = None
) -> AnnDataAccessor | BackedAccessor | SOMACollection | SOMAExperiment:
logger.warning("`.backed()` is deprecated, use `.open()`!'")
return self.open(is_run_input)
return self.open(mode, is_run_input)


# docstring handled through attach_func_to_class_method
Expand Down

0 comments on commit 85e562f

Please sign in to comment.