# Data

We've briefly touched upon the fact that `Context` and `Instance` objects can store and retrieve `data`.

```python
import pyblish.api
context = pyblish.api.Context()
context.data["key"] = "value"
```

Data is a regular Python dictionary stored in the `Context` and is meant for sharing information amongst plug-ins, whereas data in an `Instance` is specific to the instance. In both cases, data uses `mixedCase` by convention, whereas standard Python variables use `snake_case`.

```python
# wrong
context.data["my_key"] = True

# right
context.data["myKey"] = True
```


---

# 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://learn.pyblish.com/14-data.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.
