---
title: "ExecutionContext.runner_context"
description: "Access the runner context instance for the runner executing the task."
image: "https://tilebox.com/images/tilebox-docs-social-preview.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://tilebox.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ExecutionContext.runner_context

import { Fragment } from "astro/jsx-runtime";

import ApiReference from "@docs/components/ApiReference.astro";

```python
ExecutionContext.runner_context: RunnerContext
```

Access the runner context instance for the runner executing the task.

Use a custom `RunnerContext` subclass when tasks need shared runtime configuration or helpers during execution.

## Returns

The runner context object associated with the runner.

<h2 id="request-example">Usage example</h2>

```python
def execute(
    self, context: ExecutionContext
) -> None:
    bucket = context.runner_context.gcs_client(
        "my-project:my-bucket"
    )
    blob = bucket.blob("inputs/scene.json")
    data = blob.download_as_bytes()
```

Source: https://tilebox.com/docs/api-reference/python/tilebox.workflows/ExecutionContext.runner_context/index.mdx
