-
Notifications
You must be signed in to change notification settings - Fork 25
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
Update the operators for 2023.2.pre0 #644
Conversation
Signed-off-by: paul.profizi <paul.profizi@ansys.com>
…rver - Customer Portal-20221123.1 Signed-off-by: paul.profizi <paul.profizi@ansys.com>
@cbellot000 @anslpa @rafacanton @rlagha the issue here seems to be that (as discussed briefly with Rafael) the init methods of the result operators have been reworked and do not include all the possible inputs as was the case before. |
@PProfizi, @cbellot000, @anslpa I guess that we don't have any other option than connecting thorugh the |
Signed-off-by: paul.profizi <paul.profizi@ansys.com>
Signed-off-by: paul.profizi <paul.profizi@ansys.com>
@@ -58,17 +61,22 @@ | |||
os.remove(f) | |||
except: | |||
pass | |||
core.start_local_server(config=core.AvailableServerConfigs.LegacyGrpcServer) | |||
core.start_local_server(config=core.AvailableServerConfigs.GrpcServer) | |||
code_gen = core.Operator("python_generator") |
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.
This will only work for PREMIUM. Should we explicitly add it as context?
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.
@rafacanton, sure, we can add it explicitely at the beginning of the script.
Also, sorry about the confusion Rafael, the problems with the constructors of the operators is that there is a second step in the operator generation, which I now added to the script.
Signed-off-by: paul.profizi <paul.profizi@ansys.com>
Codecov Report
@@ Coverage Diff @@
## master #644 +/- ##
==========================================
- Coverage 88.14% 88.05% -0.10%
==========================================
Files 69 69
Lines 7750 7750
==========================================
- Hits 6831 6824 -7
- Misses 919 926 +7 |
Signed-off-by: paul.profizi <paul.profizi@ansys.com>
…e to 221) Signed-off-by: paul.profizi <paul.profizi@ansys.com>
Signed-off-by: paul.profizi <paul.profizi@ansys.com>
Signed-off-by: paul.profizi <paul.profizi@ansys.com>
Signed-off-by: paul.profizi <paul.profizi@ansys.com>
Signed-off-by: paul.profizi <paul.profizi@ansys.com>
Use of .ci/code_generation.py to generate the python code for operators contained in DPF Server 2023.2.pre0