Skip to content

Commit f49e7b9

Browse files
committed
v0.6.4
1 parent a3e1c7c commit f49e7b9

File tree

4 files changed

+21
-13
lines changed

4 files changed

+21
-13
lines changed

CHANGELOG.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
0.7.0 (Planned)
22
[+] Added mock.MockQualtrics object (for unit testing code that uses pyqualtrics.Qualtrics class)
33

4+
0.6.4
5+
[*] Fixed bug with getPanel returning None if there are not participants in that panel
6+
47
0.6.3
58
[*] getSurvey return None if using invalid token
69

Release Procedure.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,13 @@ cd ..
1818
rm -rf pyqualtrics
1919
```
2020
6. Run unittests on a different machine
21+
2122
`python setup.py test`
23+
2224
7. Make a release/tag
25+
2326
https://github.com/Baguage/pyqualtrics/releases -> Draft a new release
27+
2428
Use v0.6.2 format for tag name
29+
2530
8. Run `setup.py sdist bdist_egg bdist_wininst upload` command

pyqualtrics/__init__.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -697,18 +697,18 @@ def getPanel(self, LibraryID, PanelID, EmbeddedData=None, LastRecipientID=None,
697697
:param Subscribed: If 1 then only subscribed panel members will be returned
698698
:return: list of panel member as dictionaries
699699
"""
700-
if not self.request("getPanel",
701-
LibraryID=LibraryID,
702-
PanelID=PanelID,
703-
EmbeddedData=EmbeddedData,
704-
LastRecipientID=LastRecipientID,
705-
NumberOfRecords=NumberOfRecords,
706-
ExportLanguage=ExportLanguage,
707-
Unsubscribed=Unsubscribed,
708-
Subscribed=Subscribed,
709-
**kwargs):
710-
return None
711-
return self.json_response
700+
return self.request(
701+
"getPanel",
702+
LibraryID=LibraryID,
703+
PanelID=PanelID,
704+
EmbeddedData=EmbeddedData,
705+
LastRecipientID=LastRecipientID,
706+
NumberOfRecords=NumberOfRecords,
707+
ExportLanguage=ExportLanguage,
708+
Unsubscribed=Unsubscribed,
709+
Subscribed=Subscribed,
710+
**kwargs
711+
)
712712

713713
def importPanel(self, LibraryID, Name, CSV, **kwargs):
714714
""" Imports a csv file as a new panel (optionally it can append to a previously made panel) into the database

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
setup(
3030
name="pyqualtrics",
31-
version="0.6.3",
31+
version="0.6.4",
3232
author="Alex Vyushkov",
3333
author_email="[email protected]",
3434
description="Unofficial python SDK for Qualtrics API",

0 commit comments

Comments
 (0)