Adjust graphql training object and input to use date_range type as a representation for period field.