PG1204 opened a new issue, #7193: URL: https://github.com/apache/texera/issues/7193
### Task Summary ### Task Summary `hfApiToken` is a plain-text field which is visible in the property panel and persisted verbatim in the workflow JSON, so anyone that a workflow is shared with can read the token. ### Context `HuggingFaceInferenceOpDesc.hfApiToken` lacks `@JsonSchemaInject(json = UIWidget.UIWidgetPassword)`, the convention already used for the SQL source operators' password field (`SQLSourceOpDesc`). ### Proposed change Add `@JsonSchemaInject(json = UIWidget.UIWidgetPassword)` to `hfApiToken` in `HuggingFaceInferenceOpDesc.scala`. ### Required test Assert the generated JSON schema marks `hfApiToken` as a password widget (mirror the SQL source pattern). ### Related — ### Task Type - [x] Refactor / Cleanup - [ ] DevOps / Deployment / CI - [ ] Testing / QA - [ ] Documentation - [ ] Performance - [ ] Other ### Task Type - [ ] Refactor / Cleanup - [ ] DevOps / Deployment / CI - [ ] Testing / QA - [ ] Documentation - [ ] Performance - [ ] Other -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
