def _get_table_quality()

in src/package/dataplexutils/metadata/wizard.py [0:0]


    def _get_table_quality(self, use_enabled, table_fqn):
        try:
            table_quality = self._get_table_profile_quality(use_enabled, table_fqn)["data_quality"]
            # If the user is requesting to use data quality but there is
            # not data quality information to return, we disable the client
            # options flag so the prompt do not include this.
            if not table_quality:
                self._client_options._use_data_quality = False
            return table_quality
        except Exception as e:
            logger.error(f"Exception: {e}.")
            raise e