def save_metadata(self, profile="default"):
        if len(self.tables) > 0:
            f = profile_path(DBPY_PROFILE_ID, profile)
            dump_to_json(f, self.to_dict())
RequestFactory submitter
dataset/ETHPy150Open yhat/db.py/db/db.py/DB.save_metadata--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/custom/_legacy/pact/utils.py/submit_xform