> ## Documentation Index
> Fetch the complete documentation index at: https://bazel-pr-29023.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Facts

User-provided data attached to a module extension that is persisted across reevaluations of
the extension.
This type supports dict-like access (e.g. `facts["key"]` and `facts.get("key")`) as well as
membership tests (e.g. `"key" in facts`). It does not support iteration or methods like
`keys()`, `items()`, or `len()`.

## Members

* [get](#get)

## get

```
unknown Facts.get(key, default=None)
```

Returns the value for `key` if it exists, or `default`.

### Parameters

| Parameter | Description                                                     |
| --------- | --------------------------------------------------------------- |
| `key`     | [string](../core/string); required  The key to look up.         |
| `default` | default is `None`  The value to return if `key` is not present. |
