-
Notifications
You must be signed in to change notification settings - Fork 5
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
[DEVX-197]: Add Runners Interface #166
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for creating this! Added comments about how runners are tied to the user object and not app object.
clarifai/client/app.py
Outdated
|
||
Example: | ||
>>> from clarifai.client.app import App | ||
>>> app = App(app_id="app_id", user_id="user_id") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
runners are actually not owned apps like other resources, they are owned by the user/org (like a sibling to apps). This is how github does it and in the future we can add runner groups like github has to limits runners to certain apps if needed. So for the API client the runners should be off the User object instead of App.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. Now changed to User object instead of App.
What
Restructure and add Runners Interface from Utils
Added create, search, delete, list of runner objects
Tests