-
Notifications
You must be signed in to change notification settings - Fork 104
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
Introduce read-only info class derived from EvaluatorServerConfig #3045
Conversation
130d967
to
73ec17d
Compare
Codecov Report
@@ Coverage Diff @@
## main #3045 +/- ##
==========================================
- Coverage 65.47% 65.45% -0.03%
==========================================
Files 641 641
Lines 50631 50637 +6
Branches 4440 4440
==========================================
- Hits 33151 33142 -9
- Misses 15986 16003 +17
+ Partials 1494 1492 -2
Continue to review full report at Codecov.
|
@@ -215,11 +204,11 @@ def request_termination(self): | |||
return | |||
|
|||
with create_ee_monitor( |
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.
Good approach! Can this create function take directly ee_config
as parameter too?
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.
Yes, implemented it.
The same is likely true for SyncWebsocketDuplexer
. Looking into this now.
The |
I've seen the |
I think passing a read-only |
port, | ||
token=None, | ||
cert=None, | ||
ee_config: EvaluatorServerConfig, |
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.
EvaluatorConnectionInfo
?
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.
Yes! Will get to refactor everything now. But this is exactly it. : ) 👍
2271ce4
to
ce4b968
Compare
ce4b968
to
b1b96c1
Compare
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.
Good job Berent! Once tests are green 🚀
Issue
Resolves #3044
Approach
UtilizeEvaluatorServerConfig
and make sure references are okayEvaluatorServerConfig
.EvaluatorConnectionInfo
)Pre review checklist
Adding labels helps the maintainers when writing release notes, see sections and the
corresponding labels here: https://github.com/equinor/ert/blob/main/.github/release.yml