5.1.2.1.1. cobramod.parsing.base

Abstract class Base

This module contains an abstract class, which is used as a base for the retrieval of all the data from different databases. The class cobramod.parsing.base.BaseParser defines important methods such as:

  • _retrieve_data: Retrieve from database or locally.

  • _parse: Pase information and return it as a dictionary.

  • _return_database: Check method.

  • _read_file: Read file and return the information.

5.1.2.1.1.1. Module Contents

5.1.2.1.1.1.1. Classes

BaseParser

Helper class that provides a standard way to create an ABC using

class cobramod.parsing.base.BaseParser

Bases: abc.ABC

Helper class that provides a standard way to create an ABC using inheritance.