def _format_training_endpoint(self, project_id: Text) -> Text: return '{base}/train'.format( base=self._format_project_endpoint(project_id))