in callouts/python/extproc/service/callout_server.py [0:0]
def _read_cert_file(path: str | None) -> bytes | None: if path: with open(path, 'rb') as file: return file.read() return None