# Separator

A visual separator for the parent menu of [Actions](/pyblish.api/action.md).

## Example

```python
import pyblish.api


class OpenInExplorer(pyblish.api.Action):
    label = "Open in Explorer"
    on = "failed" plug-in
    icon = "hand-o-up"

    def process(self, context):
        import subprocess
        subprocess.call("start .", shell=True)


class Validate(pyblish.api.Validator):
    actions = [
        # Order of items is preserved
        pyblish.api.Category("My Actions"),
        MyAction,
        pyblish.api.Separator,
    ]

    def process(self, context, plugin):
        raise Exception("Failed")
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api.pyblish.com/pyblish.api/separator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
