py_hla_match.external.DPB1Result
- class py_hla_match.external.DPB1Result(status, prediction=None)[source]
Bases:
objectResult object for a DPB1 TCE API query.
- Variables:
status – The status of the API request (Success or Error code).
prediction – The raw prediction string from the API (e.g., ‘Permissive’, ‘Non-Permissive GvH’) if successful, else None.
- Parameters:
status (DPB1TCEStatus)
prediction (str | None)
- property is_valid: bool
Returns True if the request was successful and has a prediction.
- prediction: str | None = None
- status: DPB1TCEStatus