def __init__(self, file_path):
        """
        This class manages a json-formatted file database.
        Constructor takes the file path of the database as a parameter.
        """
        from .file_writer import read_data, write_data

        self.read_data = read_data
        self.write_data = write_data

        self.path = None
        self.set_path(file_path)

        self._data = {}
def __init__ ( self , file_path ) : from . file_writer import read_data , write_data self . read_data = read_data self . write_data = write_data self . path = None self . set_path ( file_path ) self . _data = { }
This class manages a json-formatted file database.
        Constructor takes the file path of the database as a parameter.