parseudev._lookup module

parseudev._lookup

A partial map from udev property names to parsers.

class parseudev._lookup.Lookup

Bases: object

Given a udev property name, returns a parser.

classmethod lookup(property_name)

Lookup a parser for the property name.

Parameters:property_name (str) – the name of the property
Returns:a parser or None if not found
Return type:parse.Parse or NoneType
Raises OpaqueValueError:
 if property should not be parsed

Table Of Contents

Previous topic

parseudev._id_path module

Next topic

parseudev._pci_address module

This Page