Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Fix broken URL templating for get_group_users#23

Merged
m4ce merged 1 commit intom4ce:masterm4ce/crowd-api-python:masterfrom
StegSchreck:fix/get_group_users_url_typoStegSchreck/crowd-api-python:fix/get_group_users_url_typoCopy head branch name to clipboard
Apr 23, 2024
Merged

Fix broken URL templating for get_group_users#23
m4ce merged 1 commit intom4ce:masterm4ce/crowd-api-python:masterfrom
StegSchreck:fix/get_group_users_url_typoStegSchreck/crowd-api-python:fix/get_group_users_url_typoCopy head branch name to clipboard

Conversation

@StegSchreck
Copy link

Hey @m4ce,

we have encountered the error below while trying to use the get_group_users() method from the library. It looks like a simple fix to us.
We would appreciate if you could merge this and then create a release for the lib. Thank you!

  File "/root/.cache/pypoetry/virtualenvs/xxxxxxxxxxxx/lib/python3.11/site-packages/crowd_api/__init__.py", line 134, in get_group_users
    req = self.api_get("/group/user/direct?groupname={}&max-results={}}&start-index={}".format(
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Single '}' encountered in format string

@m4ce m4ce merged commit dfd4ff4 into m4ce:master Apr 23, 2024
@m4ce
Copy link
Owner

m4ce commented Apr 23, 2024

tnx for your contribution - 0.0.10 is published.

@StegSchreck StegSchreck deleted the fix/get_group_users_url_typo branch April 23, 2024 18:09
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.