Skip to content

Commit 6677797

Browse files
germa89pyansys-ci-botpre-commit-ci[bot]
authored
fix: warning and add an exception if using class alone (#3552)
* fix: warning and add an exception if using class alone * chore: adding changelog file 3552.fixed.md [dependabot-skip] * ci: auto fixes from pre-commit.com hooks. for more information, see https://pre-commit.ci * feat: clarifying warning --------- Co-authored-by: pyansys-ci-bot <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent d7e7981 commit 6677797

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

doc/changelog.d/3552.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fix: warning and add an exception if using class alone

src/ansys/mapdl/core/mapdl.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class MapdlBase(_MapdlExtended):
2727
"""Base MAPDL class shared across all MAPDL subclasses.
2828
2929
.. warning:: This class should NOT be imported by itself.
30-
You should always import a subclass of it
31-
"""
30+
You should always import a subclass of it like
31+
:class:`MapdlGrpc <ansys.mapdl.core.mapdl_grpc.MapdlGrpc>`
3232
33-
pass
33+
"""

0 commit comments

Comments
 (0)