Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support groups query customization #352

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tim-schilling
Copy link
Member

  • Consolidate request handling logic into helper method.
  • Support a querystring to filter groups.

Replaces #274
Fixes #272

The _ms_request conslidates the error handling logic into
a single method. This should make overriding methods easier
for end users.
Docs:
https://learn.microsoft.com/en-us/graph/api/group-list-transitivememberof?view=graph-rest-1.0&tabs=python#http-request
"""
return {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm reading this on my phone, but I'm a bit confused here. This function does nothing?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I just read the docs. Should've scrolled before I commented!

I wouldn't mind a default implementation here, but I'm also fine with this. ☺️

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally, I lean towards not having a default to avoid breaking existing integrations. I don't hold that strongly though. If you suggest a default, I'm happy to include it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

get_group_memberships_from_ms_graph returns only first 100 users
2 participants