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

[CAT-1590] Allow any type for the workflow task output #140

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

dvacca-onfido
Copy link
Contributor

@dvacca-onfido dvacca-onfido commented Dec 19, 2024

By removing the property type, it becomes a Any type, meaning that it can be anything as expected.

NB: small sed patch as in python otherwise it would remain Optional[List[StrictStr]] instead of Any: this change should be pushed to openapi generator (https://github.com/OpenAPITools/openapi-generator/blob/899ddecdbdb9b157ebbf3efbcfdf95ad7cf9740e/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractPythonPydanticV1Codegen.java#L949).

@dvacca-onfido dvacca-onfido self-assigned this Dec 19, 2024
@dvacca-onfido dvacca-onfido force-pushed the fix-workflow-output-format branch from 4676f2c to 5a258b4 Compare December 19, 2024 16:28
@dvacca-onfido dvacca-onfido changed the title Allow any type for the workflow task output [CAT-1590] Allow any type for the workflow task output Dec 19, 2024
@dvacca-onfido dvacca-onfido merged commit 964fb43 into master Dec 19, 2024
4 checks passed
@dvacca-onfido dvacca-onfido deleted the fix-workflow-output-format branch December 19, 2024 18:21
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