File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,13 +125,13 @@ def __getattribute__(self, item: str) -> Any:
125125 if item .startswith ("_" ):
126126 return super ().__getattribute__ (item )
127127 else :
128- raise AttributeError (f"BlockPrototype has no attributes, must bind to get a concrete Block instance, tried to get { item } " )
128+ raise AttributeError (f"{ self . __class__ . __name__ } has no attributes, must bind to get a concrete instance, tried to get { item } " )
129129
130130 def __setattr__ (self , key : str , value : Any ) -> None :
131131 if key .startswith ("_" ):
132132 super ().__setattr__ (key , value )
133133 else :
134- raise AttributeError (f"BlockPrototype has no attributes, must bind to get a concrete Block instance, tried to set { key } " )
134+ raise AttributeError (f"{ self . __class__ . __name__ } has no attributes, must bind to get a concrete instance, tried to set { key } " )
135135
136136
137137class BlockMeta (BaseBlockMeta ):
You can’t perform that action at this time.
0 commit comments