# prefect-community

itay livni

05/21/2020, 1:38 AM
Hi - I am trying to understand if there is (1) a reason to configure a result in each task as opposed to just the flow . (2) And is setting the target enough if setting the result in the flow suffices ?

Chris White

05/21/2020, 1:41 AM
Hey itay! Most use cases work perfectly well with a single result configured on the Flow + individual task targets. To give you an example of where more nuanced configuration is desirable, I might have a setup that looks like:
Copy code
def return_config_object(param):
    return some_dictionary

def process_big_data(config):
    return pandas_dataframe
In the above case, I might want to see the config in the UI in which case I’ll configure it to use a
type. The pandas dataframe task, on the other hand, I probably want stored in cloud storage (e.g.,

itay livni

05/21/2020, 1:42 AM
👏 Thank you!
👍 2