-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/analysis journey #599
Conversation
Add OrcaBus ID
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.
LGTM
.. reviewing |
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.
LGTM!
|
||
def to_dict(self): | ||
return { | ||
"id": self.id, | ||
"workflow_run_id": self.workflow_run.id, | ||
"orcabusId": self.orcabus_id, |
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 this be snake_case
?
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.
Fair enough. Not even sure those methods are needed at all.
I'll just remove them.
pk = pk[len(self.orcabus_id_prefix):] | ||
|
||
print("DEBUG: self.queryset") | ||
print(self.queryset) |
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.
remove print? or is it intended?
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!
I cleaned up the debug/logging statements a bit.
This includes some breaking changes, like the change from internal auto-id fields to OrcaBus IDs as PKs.
There are also updates to the API with removed/added endpoints and updated/extended response schemas.