# get\_run\_query

```python
dbnl.get_run_query(
    project: Project,
    name: str,
) -> RunQuery:
```

## Parameters

| Arguments | Description                                                                                                                                                                                                                                    |
| --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `project` | The dbnl [project](https://docs.dbnl.com/v0.19.x/using-distributional/python-sdk/sdk-objects/project "mention")this [runquery](https://docs.dbnl.com/v0.19.x/using-distributional/python-sdk/sdk-objects/runquery "mention")is associated with |
| `name`    | Name of the Run Query.                                                                                                                                                                                                                         |

## Returns

| Type                                                                                                     | Description                                                                                                                                                                                    |
| -------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [runquery](https://docs.dbnl.com/v0.19.x/using-distributional/python-sdk/sdk-objects/runquery "mention") | The dbnl RunQuery, typically used for finding a [dynamic-baseline](https://docs.dbnl.com/v0.19.x/using-distributional/testing/production-testing/dynamic-baseline "mention")for a Test Session |

## Example

```python
query = dbnl.get_run_query(
  project=project,
  name="look back 3"
)
```
