vavalomi/ssaw

old imports fail in new version

Closed this issue · 1 comments

Hi! i was testing this functionality, that works in older versions:

from ssaw.models import Questionnaire
from ssaw.utils import get_variables

--
with newest versions i got this error:
image

what is the new way to call this imports ?

thanks!

The class was renamed to QuestionnaireDocument. This was changed some 3 years ago and there were a few more refactorings (there is no get_variables function anymore) while I was playing around with different ways to parse the questionnaire document.

If you give a bit of detail of what information you're trying to extract from the structure I may be able to suggest a way that would work with the current version.