FIX(wallet): get_user_detailed_info
get_user_detailed_info
This commit is contained in:
parent
615a568294
commit
7b1e9376b4
1 changed files with 9 additions and 1 deletions
|
|
@ -8,7 +8,8 @@ from gooyal_accounts_client import AuthenticatedClient
|
|||
from gooyal_accounts_client.models import PublicUser, Application
|
||||
from gooyal_accounts_client.api.users import users_api_users_retrieve
|
||||
from gooyal_accounts_client.api.oauth2 import oauth2_apis_applications_retrieve
|
||||
from gooyal_accounts_client.types import Response
|
||||
from gooyal_accounts_client.models import Account
|
||||
from gooyal_accounts_client.api.users import (users_api_users_details_retrieve)
|
||||
|
||||
|
||||
def login_as_client_credentials():
|
||||
|
|
@ -60,6 +61,13 @@ def get_user_details(uuid):
|
|||
|
||||
return data
|
||||
|
||||
def get_user_detailed_info(uuid):
|
||||
client = get_client()
|
||||
response: Account = users_api_users_details_retrieve.sync(uuid=uuid, client=client)
|
||||
print(response)
|
||||
|
||||
return response
|
||||
|
||||
def get_application_details(uuid):
|
||||
client = get_client()
|
||||
data: Application = oauth2_apis_applications_retrieve.sync(client=client, id=uuid)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue