I was looking at a code and saw that the expect_all is coded as below
dlt.expect_all(dict_expectations)(dlt_quarantine_view)
My understanding of the syntax was that it takes a dictionary of expectations and executes that, i am not able ti understand why the second argument in brackets is there.