---
title: PreflightReport
description: "What preflight found: three checks and whether a launch could proceed."
---

```python
@final
class PreflightReport
```

What `preflight` found: three checks and whether a launch could proceed.

## Constructor

`PreflightReport` declares no `__new__` or `__init__`, so it is not constructed directly: an instance comes back from another call in this package.

## Properties

### `checks`

```python
checks: list[PreflightCheck]
```

`region`, `credentials`, and `service`, in that order.

### `ok`

```python
ok: bool
```

True exactly when no fatal check failed or was skipped.

### `region`

```python
region: str | None
```

The region checked, or `None` when none resolved.

## Methods

### `check`

```python
def check(name: str) -> PreflightCheck | None
```

The check named `name`, or `None`.

### `to_dict`

```python
def to_dict() -> dict
```

## Special methods

### `__repr__`

```python
def __repr__() -> str
```

## Provenance

This page is generated from `bindings/microvms-py/microvms.pyi` by Griffe 2.3.0, run from `site/scripts/gen-reference.mjs` on every `pnpm run sync`, so an edit made here is overwritten by the next run.

To change the page, change the doc comment in the binding's Rust source, then regenerate the declarations with `mise run stubs`. `mise run stubs:check` fails when the committed file no longer matches the source.