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

Reaxpro work service #56

Merged
merged 13 commits into from
Sep 1, 2023
Merged

Reaxpro work service #56

merged 13 commits into from
Sep 1, 2023

Conversation

Kirankumaraswamy
Copy link
Contributor

Changes for addtional endpoints required by reaxpro-workflow.

@pablo-de-andres
Copy link
Member

I thought we discussed using one unique endpoint for uploading data, and a potential parameter to flag wether it is cache or persistent?

@Kirankumaraswamy
Copy link
Contributor Author

I need to discuss with Matthias about this. In his implementation he doesn't have a collection and also he is using uuid as a unique parameter. I have to suggest the name change to dataset_name instead.

Comment on lines 82 to 85
class NewModel(BaseModel):
parameters: dict

modelname: NewTransformationStates = TransformationState.CREATED
Copy link
Member

Choose a reason for hiding this comment

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

Why do you need a new model? Can yo unot use the NewTransformationModel? And why is the modelname a state?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, I should have removed this. This class is not used.

async def get_transformation_state(
transformation_id: TransformationId,
) -> TransformationStateResponse:
async def get_transformation_state() -> TransformationStateResponse:
Copy link
Member

Choose a reason for hiding this comment

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

How are you supposed to get the state if you do not provide an id for the transformation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a mistake. I was not intended to remove it. I will add it again.

marketplace_standard_app_api/routers/transformation.py Outdated Show resolved Hide resolved
marketplace_standard_app_api/routers/transformation.py Outdated Show resolved Hide resolved
@pablo-de-andres
Copy link
Member

If you can review those two minor changes, I would merge this to main, and move to review materials-marketplace/python-sdk#70

Kirankumaraswamy and others added 3 commits August 31, 2023 09:58
Co-authored-by: Pablo de Andres <9430234+pablo-de-andres@users.noreply.github.com>
Co-authored-by: Pablo de Andres <9430234+pablo-de-andres@users.noreply.github.com>
@Kirankumaraswamy Kirankumaraswamy merged commit 6469f57 into main Sep 1, 2023
6 checks passed
@Kirankumaraswamy Kirankumaraswamy deleted the reaxpro-work-service branch September 1, 2023 12:35
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