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

Fixing postprocess() interface in README template. #950

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

Conversation

acompa
Copy link

@acompa acompa commented May 23, 2024

🚀 What

This PR corrects a small interface definition in the README template. Instead of referencing postprocess(request) we now reference postprocess(response) in alignment with eg truss.model_wrapper (see code).

💻 How

Editing a jinja template to correct some templated text.

🔬 Testing

Looked for details on where this template might be used, but couldn't find any! git grep throughout the codebase only surfaced readme_generator and truss_handle references. Maybe this is auto-generated for user trusses?

@marius-baseten marius-baseten self-requested a review May 30, 2024 16:34
Copy link
Contributor

@marius-baseten marius-baseten left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this, Alejandro!

@marius-baseten marius-baseten enabled auto-merge (squash) May 30, 2024 16:36
@marius-baseten
Copy link
Contributor

The change looks good, but you need to update some tests truss/tests/test_truss_handle.py::test_readme_generation**.

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.

None yet

2 participants