@classmethod
def get(cls, project_id):
    """ Retrieve the DatetimePartitioning from a project

        Only available if the project has already set the target as a datetime project.

        Parameters
        ----------
        project_id : str
            the id of the project to retrieve partitioning for

        Returns
        -------
        DatetimePartitioning : the full partitioning for the project
        """
    url = 'projects/{}/datetimePartitioning/'.format(project_id)
    response = cls._client.get(url)
    return cls.from_server_data(response.json())
