Skip to content

Quick fix to avoid package not found error by use optional import #386

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

Merged
merged 2 commits into from
Nov 2, 2022

Conversation

MMelQin
Copy link
Collaborator

@MMelQin MMelQin commented Nov 2, 2022

This quick fix is needed to avoid MAP container runtime errors by using optional import on packages that are used by an App SDK built-in operator but not all application.

Also the dependent package needs to be stated in the operator's decorator so that this dependency is collected and become part of the requirements file when building MAP container image.

Signed-off-by: M Q [email protected]

@MMelQin MMelQin self-assigned this Nov 2, 2022
@MMelQin MMelQin added bug Something isn't working and removed bug Something isn't working labels Nov 2, 2022
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 2, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@MMelQin MMelQin merged commit 9943299 into main Nov 2, 2022
@MMelQin MMelQin deleted the mqin/fix_optional_import_nifti_loader branch March 17, 2023 20:54
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.

1 participant