@@ -432,21 +432,21 @@ def __repr__(self) -> str:
432432
433433
434434class DbusPropertyIntrospection (DbusMemberAbstract ):
435- _EMITS_CHANGED_MAP : \
436- Dict [Union [bool , None , Literal ['const' , 'invalidates' ]], str ] = {
437- True : 'DbusPropertyEmitsChangeFlag' ,
438- 'invalidates' : 'DbusPropertyEmitsInvalidationFlag' ,
439- 'const' : 'DbusPropertyConstFlag' ,
440- }
435+ _EMITS_CHANGED_MAP : Dict [
436+ Union [bool , Literal ['const' , 'invalidates' ]], str
437+ ] = {
438+ True : 'DbusPropertyEmitsChangeFlag' ,
439+ 'invalidates' : 'DbusPropertyEmitsInvalidationFlag' ,
440+ 'const' : 'DbusPropertyConstFlag' ,
441+ }
441442
442443 def __init__ (self , element : Element ):
443444 if element .tag != 'property' :
444445 raise ValueError (f"Expected property tag, got { element .tag } " )
445446
446447 self .dbus_signature = element .attrib ['type' ]
447448
448- self .emits_changed : \
449- Union [bool , Literal ['const' , 'invalidates' ], None ] = None
449+ self .emits_changed : Union [bool , Literal ['const' , 'invalidates' ]] = True
450450 self .is_explicit = False
451451
452452 access_type = element .attrib ['access' ]
0 commit comments