singer_sdk.singerlib.catalog.Catalog¶
- class singer_sdk.singerlib.catalog.Catalog[source]¶
Singer catalog mapping of stream entries.
- add_stream(entry)[source]¶
Add a stream entry to the catalog.
- Parameters:
entry (CatalogEntry) – The stream entry to add.
- Return type:
None
- get_stream(stream_id)[source]¶
Retrieve a stream entry from the catalog.
- Parameters:
stream_id (str) – The tap stream id of the stream to retrieve.
- Returns:
The stream entry if found, otherwise None.
- Return type:
CatalogEntry | None
- property streams: Sequence[CatalogEntry][source]¶
Get catalog entries.
- Returns:
A list of catalog entries.