utils – Extracting Utils.¶
- class data_extractor.utils.LazyStr(func: Callable[[], str])¶
Lazy String.
- Parameters:
func – Lazy __str__ function.
- data_extractor.utils.sentinel = sentinel¶
Singleton.
- data_extractor.utils.is_extractor(obj: Any) bool¶
Determine the object if it is an extractor, return
Trueif it is.
- data_extractor.utils.is_simple_extractor(obj: Any) bool¶
Determine the object if it is a simple extractor, return
Trueif it is.
- data_extractor.utils.is_complex_extractor(obj: Any) bool¶
Determine the object if it is a complex extractor, return
Trueif it is.
- class data_extractor.utils.Property¶
Extractor property.