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

Model Response Class #279

Conversation

xainaz
Copy link
Collaborator

@xainaz xainaz commented Oct 18, 2024

No description provided.

Copy link
Collaborator

@thiago-aixplain thiago-aixplain left a comment

Choose a reason for hiding this comment

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

Create the model_response.py script as run_response.py inside aixplain/modules/model_response.py

aixplain/modules/model/__init__.py Outdated Show resolved Hide resolved
aixplain/modules/model_response.py Outdated Show resolved Hide resolved
aixplain/modules/model_response.py Outdated Show resolved Hide resolved
@xainaz xainaz force-pushed the ENG-791-sdk-objectify-the-response-of-models-and-pipelines-using-dataclasses branch from 4bb9e5a to 962ca00 Compare October 21, 2024 15:57
@xainaz xainaz force-pushed the ENG-791-sdk-objectify-the-response-of-models-and-pipelines-using-dataclasses branch from 0b8bec6 to 6b7afbe Compare October 25, 2024 14:37
@thiago-aixplain thiago-aixplain changed the title Initial Changes Model Response Class Oct 25, 2024
@@ -142,13 +144,22 @@ def run(
try:
poll_url = response["url"]
end = time.time()
response = self.sync_poll(poll_url, name=name, timeout=timeout, wait_time=wait_time)
return(self.sync_poll(poll_url, name=name, timeout=timeout, wait_time=wait_time))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Fix the syntax here

@thiago-aixplain thiago-aixplain merged commit d77348a into development Nov 4, 2024
@thiago-aixplain thiago-aixplain deleted the ENG-791-sdk-objectify-the-response-of-models-and-pipelines-using-dataclasses branch November 4, 2024 13:10
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