File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 139139 'pin' , 'pin_update' , 'pin_wait_change' , 'pin_on_change' ]
140140
141141
142-
143-
144142def _pin_output (single_input_return , scope , position ):
145143 input_kwargs = single_input_kwargs (single_input_return )
146144 spec = _get_output_spec ('pin' , input = input_kwargs ['item_spec' ], scope = scope , position = position )
@@ -259,15 +257,15 @@ def __getattr__(self, name):
259257 return self .__getitem__ (name )
260258
261259 def __getitem__ (self , name ):
262- check_name (name )
260+ check_dom_name_value (name , 'pin `name`' )
263261 return get_pin_value (name , self ._strict )
264262
265263 def __setattr__ (self , name , value ):
266264 """
267265 __setattr__ will be invoked regardless of whether the attribute be found
268266 """
269267 assert name != 'use_strict' , "'use_strict' is a reserve name, can't use as pin widget name"
270- check_name (name )
268+ check_dom_name_value (name , 'pin `name`' )
271269 self .__setitem__ (name , value )
272270
273271 def __setitem__ (self , name , value ):
You can’t perform that action at this time.
0 commit comments