# DO NOT EDIT THIS FILE!
#
# This code is generated off of PyCDP modules. If you need to make
# changes, edit the generator and regenerate all of the modules.

from __future__ import annotations
import typing

from ..context import get_connection_context, get_session_context

import cdp.inspector
from cdp.inspector import (
    Detached,
    TargetCrashed,
    TargetReloadedAfterCrash
)


async def disable() -> None:
    '''
    Disables inspector domain notifications.
    '''
    session = get_session_context('inspector.disable')
    return await session.execute(cdp.inspector.disable())


async def enable() -> None:
    '''
    Enables inspector domain notifications.
    '''
    session = get_session_context('inspector.enable')
    return await session.execute(cdp.inspector.enable())
