Commit 694963dc authored by jens.kleineheismann's avatar jens.kleineheismann

UPD: Oe.get_groups(): ad_details defaults to True. Bump patchlevel.

parent 58fa9205
......@@ -122,7 +122,7 @@ class RestClient(object):
path = '/oe/name/{pk}'.format(pk=pk)
return self.get(path)
def get_oe_groups(self, pk, pk_only=False, ad_details=False):
def get_oe_groups(self, pk, pk_only=False, ad_details=True):
path = '/groups/{pk}'.format(pk=pk)
if ad_details:
path += "?addAdDetails=true"
......
......@@ -105,7 +105,7 @@ class Oe(Model):
def _save_data_attribs(self):
raise NotImplementedError('Not supported')
def get_groups(self, ad_details=False):
def get_groups(self, ad_details=True):
self.load()
l = self.client.get_oe_groups(pk=self.pk, ad_details=ad_details)
for d in l:
......
......@@ -14,7 +14,7 @@ def get_license():
setup(
name='python-kitgvapi',
version='1.3.1',
version='1.3.2',
description='Library for accessing the KIT Gruppenverwaltung REST API',
long_description=get_readme(),
author='Jens Kleineheismann',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment