import os import logging from data.registry_model.registry_pre_oci_model import pre_oci_model from data.registry_model.registry_oci_model import oci_model logger = logging.getLogger(__name__) registry_model = oci_model if os.getenv('OCI_DATA_MODEL') == 'true' else pre_oci_model logger.debug('Using registry model `%s`', registry_model)