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

Provide TrussUserEnv in API calls and cleanups. #1355

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

marius-baseten
Copy link
Contributor

@marius-baseten marius-baseten commented Feb 1, 2025

🚀 What

  • Increment min client python version to 3.9. This allows to remove extra-casing of chains code.
  • Replace sending of client_version with exnensible json object.
    • Use PEP 440 compliant verion string for truss.
    • Include python version, pydantic version and whether user has mypy.
  • Remove obsolete is_trusted in internal code (keep on APIs with deprecation warning).
  • Delete truss-utils (was not published forever).

Needs backend deploy first (for new GQL fields).

💻 How

🔬 Testing

@marius-baseten marius-baseten changed the title Provide TrussUserEnv in API calls. Needs backend deploy first. Provide TrussUserEnv in API calls and cleanups. Feb 1, 2025
version_name: Optional[str] = None


# This corresponds to `ChainletInputAtomicGraphene` in the backend.
class ChainletDataAtomic(pydantic.BaseModel):
name: str
oracle: OracleData


class TrussUserEnv(pydantic.BaseModel):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

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.

1 participant