Skip to content

Commit

Permalink
Change property to attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
ibro45 committed Aug 16, 2023
1 parent cb63a9e commit 736d9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighter/callbacks/writer/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def __init__(

# Ensure that default writers are defined
if not hasattr(self, "_writers"):
raise NotImplementedError("Subclasses of LighterBaseWriter must implement the `_writers` property.")
raise NotImplementedError("Subclasses of LighterBaseWriter must implement the `_writers` attribute.")

# Register any additional writers passed during initialization
if additional_writers:
Expand Down

0 comments on commit 736d9f6

Please sign in to comment.