data -> unmarshalled data, method name Convert an XML-RPC packet to unmarshalled data plus a method name (None if not present). If the XML-RPC packet represents a fault condition, this function raises a Fault exception.
(data, use_datetime=False, use_builtin_types=False)
| 991 | # @see Fault |
| 992 | |
| 993 | def loads(data, use_datetime=False, use_builtin_types=False): |
| 994 | """data -> unmarshalled data, method name |
| 995 | |
| 996 | Convert an XML-RPC packet to unmarshalled data plus a method |
| 997 | name (None if not present). |
| 998 | |
| 999 | If the XML-RPC packet represents a fault condition, this function |
| 1000 | raises a Fault exception. |
| 1001 | """ |
| 1002 | p, u = getparser(use_datetime=use_datetime, use_builtin_types=use_builtin_types) |
| 1003 | p.feed(data) |
| 1004 | p.close() |
| 1005 | return u.close(), u.getmethodname() |
| 1006 | |
| 1007 | ## |
| 1008 | # Encode a string using the gzip content encoding such as specified by the |
no test coverage detected
searching dependent graphs…