-
Notifications
You must be signed in to change notification settings - Fork 25
Fix implementation of no_context #2215
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
Conversation
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #2215 +/- ##
==========================================
- Coverage 84.03% 84.01% -0.03%
==========================================
Files 90 90
Lines 10313 10308 -5
==========================================
- Hits 8667 8660 -7
- Misses 1646 1648 +2 |
@cbellot000 please complete the PR description with minimum information on what this PR's about |
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me !
Allowing DPF to start without a context had been exposed in pydpf. This wasn't working at all because: the enum created (LicensingContextType.none) had no meaning server side. The effect of using no_context was: dpf default initialization was done, loading most plugins.
With this PR, applying no context is done by using a "eUserDefinedContext"==2 and putting an empty xml path -> no xml.