Skip to content

Test Tasks

ecoscope.platform.tasks.test

Functions:

placeholder_task

placeholder_task(placeholder_field: Annotated[int, Field(description='A field for testing')]) -> bool

Dummy task for the purposes of testing the task registry.

Source code in ecoscope/platform/tasks/test/_test.py
@register()
def placeholder_task(
    placeholder_field: Annotated[int, Field(description="A field for testing")],
) -> bool:
    """
    Dummy task for the purposes of testing the task registry.
    """
    return True