#NEWLINE# def _set_property_name( cls , key , property_instance ) : #NEWLINE# #INDENT# '\n        Set Property name to attribute key unless explicitly set via kwd param.\n\n        :param key: Class attribute key\n        :type key: str\n\n        :param property_instance: Property instance\n        :type property_instance bulbs.property.Property\n\n        :rtype None\n\n        ' #NEWLINE# if ( property_instance . name is None ) : #NEWLINE# #INDENT# property_instance . name = property_instance