finalynx.fetch.fetch

Module Contents

Classes

Fetch

Entry point class that orchestrates fetching from multiple sources.

API

class finalynx.fetch.fetch.Fetch(portfolio: finalynx.portfolio.folder.Portfolio, clear_cache: bool = False, ignore_orphans: bool = False, sources: Optional[List[finalynx.fetch.source_base_line.SourceBaseLine]] = None)[source]

Entry point class that orchestrates fetching from multiple sources.

Initialization

This class orchestrates the fetching process from multiple sources.

add_source(source: finalynx.fetch.source_base_line.SourceBaseLine) None[source]

Register a new source instance which must already be configured.

fetch_from(active_source_names: List[str]) rich.tree.Tree[source]

Fetch from all sources specified in active_sources and return a rich tree used to render what has been fetched to the console.

fetch_all() rich.tree.Tree[source]

Fetch from all sources added and return a rich tree used to render what has been fetched to the console.