Skip to content

Commit

Permalink
v0.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Baguage committed Jan 5, 2017
1 parent a3e1c7c commit f49e7b9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 13 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.txt
@@ -1,6 +1,9 @@
0.7.0 (Planned)
[+] Added mock.MockQualtrics object (for unit testing code that uses pyqualtrics.Qualtrics class)

0.6.4
[*] Fixed bug with getPanel returning None if there are not participants in that panel

0.6.3
[*] getSurvey return None if using invalid token

Expand Down
5 changes: 5 additions & 0 deletions Release Procedure.md
Expand Up @@ -18,8 +18,13 @@ cd ..
rm -rf pyqualtrics
```
6. Run unittests on a different machine

`python setup.py test`

7. Make a release/tag

https://github.com/Baguage/pyqualtrics/releases -> Draft a new release

Use v0.6.2 format for tag name

8. Run `setup.py sdist bdist_egg bdist_wininst upload` command
24 changes: 12 additions & 12 deletions pyqualtrics/__init__.py
Expand Up @@ -697,18 +697,18 @@ def getPanel(self, LibraryID, PanelID, EmbeddedData=None, LastRecipientID=None,
:param Subscribed: If 1 then only subscribed panel members will be returned
:return: list of panel member as dictionaries
"""
if not self.request("getPanel",
LibraryID=LibraryID,
PanelID=PanelID,
EmbeddedData=EmbeddedData,
LastRecipientID=LastRecipientID,
NumberOfRecords=NumberOfRecords,
ExportLanguage=ExportLanguage,
Unsubscribed=Unsubscribed,
Subscribed=Subscribed,
**kwargs):
return None
return self.json_response
return self.request(
"getPanel",
LibraryID=LibraryID,
PanelID=PanelID,
EmbeddedData=EmbeddedData,
LastRecipientID=LastRecipientID,
NumberOfRecords=NumberOfRecords,
ExportLanguage=ExportLanguage,
Unsubscribed=Unsubscribed,
Subscribed=Subscribed,
**kwargs
)

def importPanel(self, LibraryID, Name, CSV, **kwargs):
""" Imports a csv file as a new panel (optionally it can append to a previously made panel) into the database
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -28,7 +28,7 @@

setup(
name="pyqualtrics",
version="0.6.3",
version="0.6.4",
author="Alex Vyushkov",
author_email="pyqualtrics@gmail.com",
description="Unofficial python SDK for Qualtrics API",
Expand Down

0 comments on commit f49e7b9

Please sign in to comment.