Returns a tuple of the graphene version. If version argument is non-empty,
    then checks for correctness of the tuple provided.

def get_complete_version(version=None):
    """Returns a tuple of the graphene version. If version argument is non-empty,
    then checks for correctness of the tuple provided.
    """
    if version is None:
        from graphene import VERSION as version
    else:
        assert len(version) == 5
        assert version[3] in ("alpha", "beta", "rc", "final")

    return version