stream.device.nwpi.tasks.create

Operation: POST /dataservice/stream/device/nwpi/tasks/create

Task Action - Create

def task_create(
    payload: Optional[Any] = None,
) -> TasksCreateResponsePayload: ...

Example:

from catalyswan.core import create_client

url = "example.com"
username = "admin"
password = "password123"

with create_client(
    url=url, username=username, password=password
) as client:
    client.stream.device.nwpi.tasks.create.task_create()