Thread
#prefect-community
    ibrahem

    ibrahem

    3 months ago
    Hi.. quick question can I have a task that returns a list of strings then from that list I'll loop over it and do some logic. the issue I have is
    object is not iterable
    is there anyway to return the result of a task as a normal python object list, dict and not a task (please note i don't know the length of list and its very dynamic)
    Michael Adkins

    Michael Adkins

    3 months ago
    It sounds like you’re looking for “mapping”: https://docs.prefect.io/core/concepts/mapping.html