Schema

This domain is deprecated.

Types

Generally, you do not need to instantiate CDP types yourself. Instead, the API creates objects for you as return values from commands, and then you can use those objects as arguments to other commands.

class cdp.schema.Domain(name, version)

Description of the protocol domain.

name = None

Domain name.

version = None

Domain version.

Commands

Each command is a generator function. The return type Generator[x, y, z] indicates that the generator yields arguments of type x, it must be resumed with an argument of type y, and it returns type z. In this library, types x and y are the same for all commands, and z is the return type you should pay attention to. For more information, see Getting Started: Commands.

cdp.schema.get_domains()

Returns supported domains.

Return type:Generator[Dict[str, Any], Dict[str, Any], List[Domain]]
Returns:List of supported domains.

Events

There are no events in this module.