Package dbus :: Module _expat_introspect_parser
[hide private]
[frames] | no frames]

Module _expat_introspect_parser

source code

Classes [hide private]
  _Parser
Functions [hide private]
 
process_introspection_data(data)
Return a dict mapping interface.method strings to the concatenation of all their 'in' parameters, and mapping interface.signal strings to the concatenation of all their parameters.
source code
Variables [hide private]
  __package__ = 'dbus'
Function Details [hide private]

process_introspection_data(data)

source code 

Return a dict mapping interface.method strings to the concatenation of all their 'in' parameters, and mapping interface.signal strings to the concatenation of all their parameters.

Example output:

{
    'com.example.SignalEmitter.OneString': 's',
    'com.example.MethodImplementor.OneInt32Argument': 'i',
}
Parameters:
  • data (str) - The introspection XML. Must be an 8-bit string of UTF-8.