# UrlSafetyResult

> **Class** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/unicode_security/UrlSafetyResult)

Safety analysis output for a URL string.

A result may have `safe=True` with non-empty `warnings` when
informational warnings (e.g. punycode decoding) are present without
suspicious patterns.

## Signature

```python
UrlSafetyResult(
    self,
    safe: bool,
    decoded_domain: str | None,
    warnings: tuple[str, ...],
    issues: tuple[UnicodeIssue, ...],
)
```

## Constructors

```python
__init__(
    self,
    safe: bool,
    decoded_domain: str | None,
    warnings: tuple[str, ...],
    issues: tuple[UnicodeIssue, ...],
) -> None
```

| Name | Type |
|------|------|
| `safe` | `bool` |
| `decoded_domain` | `str \| None` |
| `warnings` | `tuple[str, ...]` |
| `issues` | `tuple[UnicodeIssue, ...]` |


## Properties

- `safe`
- `decoded_domain`
- `warnings`
- `issues`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a827cddf72d72e4b17921b8eb445a3bfb0511cb4/libs/cli/deepagents_cli/unicode_security.py#L116)