# immunity-period (/docs/query/immunity-period)

**Category:** Hyperparameters

## Parameters [#parameters]

| Parameter | Type    | Description      |
| --------- | ------- | ---------------- |
| `netuid`  | integer | Subnet to query. |

## CLI [#cli]

```bash
btcli query immunity-period --netuid <integer> --json
```

## Python [#python]

Typed namespace method (autocomplete, signature help):

```python
import bittensor as sub

async with sub.Client("finney") as client:
    result = await client.hyperparameters.immunity_period(netuid=1)
```

Or dispatch by name, as an agent would:

```python
result = await client.read("immunity_period", netuid=1)
```
