Skip to content

Bug: get_all_groups method ignores the value of fetch_members parameter #21

@smasset-veolia

Description

@smasset-veolia

Description

The management SDK get_all_groups ignores the value of the fetch_members parameter. The only way to call it and not get the group membership information is not to provide the parameter at all (or to set it to None). Setting it to either False or True returns the list of groups with group membership information.

I've reproduced it with Pypi version 5.1.0 of the python SDK (but I'm not sure if this is limited to the python SDK).

Minimal code-snippet showcasing the problem

authing_client.get_all_groups(fetch_members=False)

Expected behavior

Get the list of groups without the members (same result as authing_client.get_all_groups(fetch_members=None)).

Actual behavior

Get the list of groups with the members (same result as authing_client.get_all_groups(fetch_members=False)).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions