Add standardized core API, more Uthana features, CI release/tagging system#1
Merged
brandonscript merged 15 commits intomainfrom Mar 31, 2026
Merged
Add standardized core API, more Uthana features, CI release/tagging system#1brandonscript merged 15 commits intomainfrom
brandonscript merged 15 commits intomainfrom
Conversation
brandonscript
commented
Mar 7, 2026
| ) | ||
| ) | ||
|
|
||
| async def download_preview(self, character_id: str, motion_id: str) -> bytes: |
Collaborator
Author
There was a problem hiding this comment.
Important note: moved this from character.py to here, it didn't make sense on character.py
hyperlogic
requested changes
Mar 13, 2026
| - name: Build package | ||
| run: uv build | ||
|
|
||
| - name: Publish to PyPI |
Collaborator
There was a problem hiding this comment.
Uh, how do I trigger this? Where do I put the PYPI token?
| @@ -0,0 +1,196 @@ | |||
| #!/usr/bin/env python3 | |||
| """Release helper for SemVer tags and version synchronization.""" | |||
Collaborator
There was a problem hiding this comment.
Do we really need all this? When should this be run? What are the arguments?
| """Character management: upload, list, download, generate previews, rename, and delete.""" | ||
|
|
||
| @overload | ||
| async def create( |
Collaborator
There was a problem hiding this comment.
IMHO, this method literal, should just be baked into the method name. i.e. create_from_file, create_from_image, create_from_prompt.
| @@ -0,0 +1,171 @@ | |||
| # (c) Copyright 2026 Uthana, Inc. All Rights Reserved | |||
Collaborator
There was a problem hiding this comment.
What is the empty py.typed file used for? Does it need to be checked in?
hyperlogic
approved these changes
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of changes:
_syncsuffix (e.g.create_sync,get_sync).model:modelis an optional kwarg for TTM, VTM, and stitch; defaults frommodels.iniwhen omitted or"auto".TypedDictwherever possible that matches graphql schema.domainparameter: Replacedstaging=Truewithdomain=for a configurable API host.UthanaCharacters: Renamed fromDefaultCharacters.