morb_fetch.examples package
- class morb_fetch.examples.Database(config=None)
Bases:
objectA class to represent the examples database. It loads the examples from a CSV file and provides a method to fetch a specific example by name and identifier.
- list_ids()
List all example identifiers.
- class morb_fetch.examples.Example(meta, database=None)
Bases:
objectA class to represent an example. It contains the metadata and the data associated with the example.
- retrieve()
Retrieve the data associated with the example either from the local cache or from the server.
- Returns:
None
- morb_fetch.examples.get_database()
Get the global database instance.
- Returns:
The global database instance.
- Return type: