-
Notifications
You must be signed in to change notification settings - Fork 68
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
[SYNPY-1544] potential changes to mixin #1153
[SYNPY-1544] potential changes to mixin #1153
Conversation
Hello @BryanFauble! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2025-01-14 20:51:40 UTC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, this is much better than what I had previously. I like using AgentPrompt as the async communicator, makes much more sense.
@@ -151,129 +195,156 @@ def fill_from_dict(self, async_job_status: dict) -> "AsynchronousJobStatus": | |||
return self | |||
|
|||
|
|||
class AsynchronousJob: | |||
async def send_job_and_wait_async( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should these be in a separate script?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. This would probably make sense to live within a py script at synapseclient.api
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can do this before merging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@BryanFauble Actually, maybe that isn't possible. If we move get_job_async
we need to move the AsynchronousJobStatus and AsynchronousJobState classes to avoid a circular import issue, but that doesn't make a whole lot of sense to me to have those classes in a _services.py
script. I think I will leave these where they are for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, this is much better than what I had previously. I like using AgentPrompt as the async communicator, makes much more sense.
165570c
into
synpy-1544-synapse-agent-oop-model
@BWMac and I are working together to discuss ways in which we will implement this feature