-
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
Add server tutorials to the main tutorials branch #1891
base: doc/new-tutorials-section
Are you sure you want to change the base?
Add server tutorials to the main tutorials branch #1891
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## doc/new-tutorials-section #1891 +/- ##
=============================================================
- Coverage 88.16% 88.10% -0.07%
=============================================================
Files 83 83
Lines 9961 9951 -10
=============================================================
- Hits 8782 8767 -15
- Misses 1179 1184 +5
|
|
||
from ansys.dpf import core as dpf | ||
local_server = dpf.start_local_server() | ||
local_server |
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.
from ansys.dpf import core as dpf | ||
grpc_server_config = dpf.AvailableServerConfigs.GrpcServer | ||
grpc_server = dpf.start_local_server(config=grpc_server_config) | ||
grpc_server |
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.
grpc_server | |
print(grpc_server) |
This tutorial should also describe the |
Add a new server tutorial into the "dpf server" section:
Preview on how it renders: