extract.extractors
MaterializedEmptyList Objects
class MaterializedEmptyList(List[Any])
A list variant that will materialize tables even if empty list was yielded
materialize_schema_item
def materialize_schema_item() -> MaterializedEmptyList
Yield this to materialize schema in the destination, even if there's no data.
Extractor Objects
class Extractor()
item_format
@staticmethod
def item_format(items: TDataItems) -> Optional[TLoaderFileFormat]
Detect the loader file format of the data items based on type. Currently this is either 'arrow' or 'puae-jsonl'
Returns:
The loader file format or None
if if can't be detected.
write_items
def write_items(resource: DltResource, items: TDataItems, meta: Any) -> None
Write items
to resource
optionally computing table schemas and revalidating/filtering data