def METHOD_NAME(self, query: Optional[str] = None):
    result = self._gql.query(
        """query get_all_projects($query: String) {
            allProjects(query: $query, offset: 0, limit: 10000) {
                """
        + self.PROJECT_FIELDS
        + """
            }
        }""",
        {"query": query},
    )
    return result['allProjects']