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

RSDK-5983: await get_org_id in list_keys #509

Conversation

purplenicole730
Copy link
Member

@purplenicole730 purplenicole730 commented Dec 26, 2023

Originally:

Exception: bad argument type for built-in operation
/Users/nicolejung/viam/viam-python-sdk/main.py:20: RuntimeWarning: coroutine 'AppClient._get_organization_id' was never awaited
  print(f'Exception: {e}')
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Unclosed connection: Channel('app.viam.com', 443, ..., path=None)

Now:

[api_key {
  id: "----"
  key: "----"
  created_on {
    seconds: 1695842752
    nanos: 869000000
  }
}
authorizations {
  authorization_type: "role"
  authorization_id: "robot_owner"
  resource_type: "robot"
  resource_id: "----"
  org_id: "----"
}
]

@purplenicole730 purplenicole730 marked this pull request as ready for review December 26, 2023 16:48
@purplenicole730 purplenicole730 requested a review from a team as a code owner December 26, 2023 16:48
@purplenicole730 purplenicole730 merged commit e898a6c into viamrobotics:main Dec 27, 2023
12 checks passed
@purplenicole730 purplenicole730 deleted the RSDK-5983-await-get_org_id-in-list_keys branch December 27, 2023 17:45
nicksanford pushed a commit to nicksanford/viam-python-sdk that referenced this pull request Jan 29, 2024
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