> This page is for Remediation Orchestrator.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/remediation-orchestrator/llms.txt.

# slurm.ParsedDrainReason

A parsed drain reason object containing tags and cleaned reason.

## Members

* [get_tags](#get_tags)
* [has_all_tags](#has_all_tags)
* [has_any_tag](#has_any_tag)
* [has_only_tags_from](#has_only_tags_from)
* [has_tag](#has_tag)

## get_tags

Get a list of all tag names present in the drain reason

List of all tag names

## has_all_tags

Check if all of the specified tags are present in the drain reason

List of tag names to check for

True if all of the tags are present, false otherwise

## has_any_tag

Check if any of the specified tags are present in the drain reason

List of tag names to check for

True if any of the tags are present, false otherwise

## has_only_tags_from

Check if all tags present in the drain reason are in the allowed list. Returns true if there are no tags.

List of allowed tag names

True if all present tags are in the allowed list, false otherwise

## has_tag

Check if a specific tag is present in the drain reason

The tag name to check for

True if the tag is present, false otherwise