Skip to content

prefect_sns.tasks

This is an example tasks module

Functions

goodbye_prefect_sns

Sample task that says goodbye!

Returns:

Type Description
str

A farewell for your collection

Source code in prefect_sns/tasks.py
16
17
18
19
20
21
22
23
24
@task
def goodbye_prefect_sns() -> str:
    """
    Sample task that says goodbye!

    Returns:
        A farewell for your collection
    """
    return "Goodbye, prefect-sns!"

hello_prefect_sns

Sample task that says hello!

Returns:

Type Description
str

A greeting for your collection

Source code in prefect_sns/tasks.py
 5
 6
 7
 8
 9
10
11
12
13
@task
def hello_prefect_sns() -> str:
    """
    Sample task that says hello!

    Returns:
        A greeting for your collection
    """
    return "Hello, prefect-sns!"