| 388 | |
| 389 | # Map |
| 390 | async def map( |
| 391 | self, |
| 392 | url: str, |
| 393 | *, |
| 394 | search: Optional[str] = None, |
| 395 | include_subdomains: Optional[bool] = None, |
| 396 | limit: Optional[int] = None, |
| 397 | sitemap: Optional[Literal["only", "include", "skip"]] = None, |
| 398 | timeout: Optional[int] = None, |
| 399 | integration: Optional[str] = None, |
| 400 | ) -> MapData: |
| 401 | options = MapOptions( |
| 402 | search=search, |
| 403 | include_subdomains=include_subdomains, |
| 404 | limit=limit, |
| 405 | sitemap=sitemap if sitemap is not None else "include", |
| 406 | timeout=timeout, |
| 407 | integration=integration, |
| 408 | ) if any(v is not None for v in [search, include_subdomains, limit, sitemap, integration, timeout]) else None |
| 409 | return await async_map.map(self.async_http_client, url, options) |
| 410 | |
| 411 | async def create_monitor( |
| 412 | self, |