docs← Back to article

Markdown for LLMs

imports

The source Markdown for this article. Copy it into your assistant or download it as a text file.

Download this articlePlain text ↗
# imports

The dependency edges of the snapshot: which `package` imports which `imported` name, with the pinned `semantic_hash` the bytes were checked against. One row per import declaration. Imports are resolved before any query runs: a name from another package that is not imported here cannot be read, and a package outside the snapshot cannot be imported at all.

## Fields

From the live dictionary on the reference fixture:

| field |
|---|
| `package` |
| `imported` |
| `semantic_hash` |
| `path` |

## Example

One meaningful query on the reference fixture (1 rows):

```lawq
from i in imports select i.package as importer, i.imported as imported
```