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

Implement users.get RPC function #4001

Open
Tracked by #3993
mathemancer opened this issue Nov 1, 2024 · 0 comments
Open
Tracked by #3993

Implement users.get RPC function #4001

mathemancer opened this issue Nov 1, 2024 · 0 comments
Milestone

Comments

@mathemancer
Copy link
Contributor

mathemancer commented Nov 1, 2024

We need to implement a users.get RPC function to replace the GET /api/ui/v0/users/{userId}/ endpoint.

The function signature should be:

@rpc_method(name='users.get')
@http_basic_auth_login_required
@handle_rpc_exceptions
def get(
        *,
        user_id: int,
) -> UserInfo:

See the wiki for more context.

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

2 participants