Skip to content

Commit

Permalink
Fix just_coro defaults.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Fleming committed Aug 22, 2024
1 parent 3cff4b3 commit e33e0aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ipylab/asyncwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,11 @@ def execute_method(
just_coro=just_coro,
)

def get_attribute(self, path: str, *, transform: TransformType = TransformMode.raw, just_coro=True):
def get_attribute(self, path: str, *, transform: TransformType = TransformMode.raw, just_coro=False):
"""A serialized version of the attribute relative to this object."""
return self.execute_method("getAttribute", path, transform=transform, just_coro=just_coro)

def list_methods(self, path: str = "", *, depth=2, skip_hidden=True, just_coro=True):
def list_methods(self, path: str = "", *, depth=2, skip_hidden=True, just_coro=False):
"""Get a list of methods belonging to the object 'path' of the Frontend instance.
depth: The depth in the object inheritance to search for methods.
"""
Expand Down
2 changes: 1 addition & 1 deletion ipylab/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def addToShell(
mode: InsertMode = InsertMode.split_right,
rank: int | None = None,
ref: DisposableConnection | str = "",
just_coro=True,
just_coro=False,
**options,
):
"""Add this panel to the shell."""
Expand Down

0 comments on commit e33e0aa

Please sign in to comment.