thanks for the PR ! However, moving DATASETS_URI out of the class will break things. Keeping it within the classes, in your function, you just can do:

    def ....
        response = connection.get(Dataset.DATASETS_URI % project_id)
        ...