Skip to content

Commit

Permalink
Fix Get & Set Attribute Wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
Willmac16 committed Jan 4, 2024
1 parent 1caa252 commit adc89c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycyphal/dsdl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_attribute(obj: Any, name: str) -> Any:
"""
import nunavut_support

return nunavut_support.get_attribute(obj)
return nunavut_support.get_attribute(obj, name)


def set_attribute(obj: Any, name: str, value: Any) -> None:
Expand All @@ -105,7 +105,7 @@ def set_attribute(obj: Any, name: str, value: Any) -> None:
"""
import nunavut_support

return nunavut_support.set_attribute(obj)
return nunavut_support.set_attribute(obj, name, value)


def is_serializable(dtype: Any) -> bool:
Expand Down

0 comments on commit adc89c7

Please sign in to comment.