Expand description
Singer catalog discovery: run <tap> --config <tmp> --discover and return
the catalog it prints. Used by faucet init --source singer --discover.
Structs§
- Stream
Selection - Result of
select_streams: the rewritten catalog plus what was selected and any warnings the caller should surface to the user.
Functions§
- catalog_
stream_ ids - Extract the stream ids from a Singer catalog (
tap_stream_id, falling back tostream), in catalog order. - discover
- Run the tap in discovery mode and parse its stdout as a Singer catalog.
- select_
streams - Mark
target— and any parent streams inferable from the catalog — asselected, returning the rewritten catalog.