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

Add support for syncing all collections shared with specific groups #58

Open
parkerbxyz opened this issue Apr 5, 2024 · 0 comments
Open

Comments

@parkerbxyz
Copy link
Owner

It would be nice to be able to specify a group or list of groups and publish all collections shared with those groups.

Example:

# Get all collections and publish each of them that are shared with all members
guru_collections = source.get_collections()
for collection in guru_collections:
    collection_groups = collection.get_groups()
    for group in collection_groups:
        if group.group_name == "All Members":
            destination.publish_collection(collection)
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

No branches or pull requests

1 participant