Skip to content

Commit

Permalink
Add a bit of simple documentation (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddyGuthridge authored Aug 1, 2024
1 parent 62d7bd9 commit 54fe1d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions testbook/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ def ref(self, name: str) -> Union[TestbookObjectReference, Any]:
return TestbookObjectReference(self, name)

def get(self, item):
"""
Return a reference to an object in the kernel
Equivalent to `ref`.
"""
return self.ref(item)

def __getitem__(self, item):
Expand Down

0 comments on commit 54fe1d3

Please sign in to comment.