Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
hooks:
- id: isort

- repo: https://gitlab.com/PyCQA/flake8
- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
hooks:
- id: flake8
Expand Down
4 changes: 2 additions & 2 deletions doc/source/integration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Instead of:

if pypim.is_configured():
pim = pypim.connect()
instance = pypim.create_instance(product_name="mapdl")
instance = pim.create_instance(product_name="mapdl")
channel = instance.build_grpc_channel(
options=[("grpc.max_receive_message_length", 8 * 1024**2)]
)
Expand Down Expand Up @@ -105,7 +105,7 @@ Typically, the resulting code looks like this:
def launch_my_product(self, ...):
if pypim.is_configured() and not user_has_specified_how_to_launch_the_product:
pim = pypim.connect()
self.instance = pypim.create_instance("my_product_name")
self.instance = pim.create_instance("my_product_name")
self.instance.wait_for_ready()
channel = self.instance.build_grpc_channel()
else:
Expand Down
1 change: 1 addition & 0 deletions requirements/requirements_tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ pytest-cov>=3.0.0
ansys-api-platform-instancemanagement>=1.0.0b1
grpcio-testing
grpcio-health-checking
six~=1.16