Skip to content

Commit

Permalink
limit arg for Database.load
Browse files Browse the repository at this point in the history
  • Loading branch information
deeenes committed Nov 20, 2024
1 parent 630b15d commit 9666016
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions omnipath_metabo/schema/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ def create(self) -> None:
create(self.con)


def load(self, resource) -> None:
def load(self, resource: str, limit: int = None) -> None:

loader = Loader(resource, self.con)
loader.load()
loader.load(limit = limit)

def test_load(self, resource) -> None:

Expand Down

0 comments on commit 9666016

Please sign in to comment.