get_flags function

Get the flags of pipelines in a MaestroSchedule object