def _load_schema()

in backend-printing/helper/backend_print.py [0:0]


    def _load_schema(self, sap_config: dict):
        """_summary_

        Args:
            sap_config (dict): _description_

        Raises:
            Exception: _description_

        Returns:
            SAPsystem: system properties
        """
        try:
            sap_system_schema = class_schema(SAPSystem)()
            return sap_system_schema.load(sap_config)
        except Exception as e:
            raise Exception(f"Error occurred SAP config: {e}")