DBusAnnotationInfo#

Added in version 2.26.

class DBusAnnotationInfo(*args, **kwargs)#

Information about an annotation.

Methods#

class DBusAnnotationInfo
classmethod lookup(name: str) str | None#

Looks up the value of an annotation.

The cost of this function is O(n) in number of annotations.

Added in version 2.26.

Parameters:

name – The name of the annotation to look up.

Fields#

class DBusAnnotationInfo
annotations#

A pointer to a None-terminated array of pointers to DBusAnnotationInfo structures or None if there are no annotations.

key#

The name of the annotation, e.g. “org.freedesktop.DBus.Deprecated”.

ref_count#

The reference count or -1 if statically allocated.

value#

The value of the annotation.