Skip to content

[PLAT-191] update python sdk#41

Merged
winnie-opal merged 1 commit intomainfrom
04-21-update_python_sdk
Apr 21, 2026
Merged

[PLAT-191] update python sdk#41
winnie-opal merged 1 commit intomainfrom
04-21-update_python_sdk

Conversation

@winnie-opal
Copy link
Copy Markdown
Contributor

@winnie-opal winnie-opal commented Apr 21, 2026

pulled in latest changes from openapi.yaml

did some smoke testing with the new tokens endpoint and the tag filters

with opal_security.ApiClient(config) as client:
    api = tokens_api.TokensApi(client)
    print(api.get_tokens())
with opal_security.ApiClient(config) as client:
    print("=== Resources filtered by tag ===")
    resources = resources_api.ResourcesApi(client)
    print(resources.get_resources(tag_ids=[TAG_ID]))

    print("=== Groups filtered by tag ===")
    groups = groups_api.GroupsApi(client)
    print(groups.get_groups(tag_ids=[TAG_ID]))

    print("=== Users filtered by tag ===")
    users = users_api.UsersApi(client)
    print(users.get_users(tag_ids=[TAG_ID]))

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@winnie-opal winnie-opal marked this pull request as ready for review April 21, 2026 23:14
@winnie-opal winnie-opal requested a review from a team April 21, 2026 23:14
Copy link
Copy Markdown

@elliot-opal elliot-opal left a comment

Choose a reason for hiding this comment

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

I'm guessing this was pulled in from a CLI command or something, this looks pretty low risk

@winnie-opal winnie-opal merged commit 370795a into main Apr 21, 2026
12 checks passed
@winnie-opal winnie-opal changed the title update python sdk [PLAT-191] update python sdk Apr 22, 2026
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.

2 participants