Skip to content

Commit

Permalink
added type hint for the result property fic=xing #768
Browse files Browse the repository at this point in the history
  • Loading branch information
jgd10 committed Dec 8, 2021
1 parent 58939c5 commit bd07541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansys/mapdl/core/mapdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from ansys.mapdl.core.commands import Commands
from ansys.mapdl.core.inline_functions import Query
from ansys.mapdl.core import LOG as logger

from ansys.mapdl.reader.rst import Result

_PERMITTED_ERRORS = [
r"(\*\*\* ERROR \*\*\*).*(?:[\r\n]+.*)+highly distorted.",
Expand Down Expand Up @@ -1364,7 +1364,7 @@ def kplot(
return super().kplot(np1=np1, np2=np2, ninc=ninc, lab=lab, **kwargs)

@property
def result(self):
def result(self) -> 'Result':
"""Binary interface to the result file using :class:`ansys.mapdl.reader.rst.Result`.
Returns
Expand Down

0 comments on commit bd07541

Please sign in to comment.