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

Added schema, team and simple file upload methods. #755

Merged
merged 2 commits into from
Oct 10, 2023

Conversation

bw27492
Copy link
Member

@bw27492 bw27492 commented Sep 29, 2023

Additions:

  • SchemaKind enum
  • simple_upload method
  • get_all_schemas method
  • get_schema method
  • create_schema method
  • get_model roles method
  • get_team method
  • update_team method

@bw27492 bw27492 requested a review from a3957273 September 29, 2023 15:59
"""
return self.agent.post(
f"{self.url}/v2/model/{model_id}/files/upload/simple",
params={"name": name, "mime": mime},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to include the file you're uploading!

@bw27492 bw27492 merged commit c54c4fb into main Oct 10, 2023
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