the Extract class to have access to the data and metadata dataframes
the Load class to class the method load_in_json(...) to insert the resources within the database
It is inconvenient to write tests because we have to instantiate these two classes too in order to test the Transform class. Instead, we could give the necessary attributes of each class to the constructor of Transform so that Transform can "work on tis own".
As of today the Transform class uses:
load_in_json(...)
to insert the resources within the databaseIt is inconvenient to write tests because we have to instantiate these two classes too in order to test the Transform class. Instead, we could give the necessary attributes of each class to the constructor of Transform so that Transform can "work on tis own".