fiftyone icon indicating copy to clipboard operation
fiftyone copied to clipboard

resolve secret for resolve operator type and options

Open imanjra opened this issue 11 months ago • 1 comments

What changes are proposed in this pull request?

Currently, secrets are not being resolved in ExecutionContext for ResolveType and ResolveExecutionOptions routes. As a result, ctx.secret is not functional in resolve_input, resolve_output and resolve_execution_options

How is this patch tested? If it is not, please explain why.

Using an example Python operator

Release Notes

Is this a user-facing change that should be mentioned in the release notes?

  • [ ] No. You can skip the rest of this section.
  • [x] Yes. Give a description of this change to be included in the release notes for FiftyOne users.

Fix secrets not accessible in resolve_input, resolve_output and resolve_execution_options of a Python operator

What areas of FiftyOne does this PR affect?

  • [x] App: FiftyOne application changes
  • [ ] Build: Build and test infrastructure changes
  • [ ] Core: Core fiftyone Python library changes
  • [ ] Documentation: FiftyOne documentation changes
  • [ ] Other

imanjra avatar Mar 18 '24 15:03 imanjra