Skip to content

Commit

Permalink
explicit imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-jedrusiak committed Oct 31, 2024
1 parent 1944ad3 commit e3515f5
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 2 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* Added `pauseBuild` arg to `SurveyModel.build()` to prevent the survey from being built when created.
* Added `surveyFromJson()` function to create a survey from a json file made with the visual creator.
* Themes have been implemented. See `themeFile` argument in the `SurveyModel` class.
* Imports in __init__.py are now explicit.

## 0.3.2

Expand Down
32 changes: 30 additions & 2 deletions velesresearch/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@
"VelesResearch main functionality."
from .wrappers import *
from .validators import *
from .wrappers import (
survey,
page,
panel,
dropdown,
text,
checkbox,
ranking,
radio,
dropdownMultiple,
textLong,
rating,
yesno,
info,
matrix,
matrixDropdown,
matrixDynamic,
slider,
image,
consent,
surveyFromJson,
)
from .validators import (
numberValidator,
textValidator,
emailValidator,
expressionValidator,
answerCountValidator,
regexValidator,
)
from .utils import convertImage, getJS

0 comments on commit e3515f5

Please # to comment.