File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -497,7 +497,7 @@ jobs:
497497 run : ctest --parallel $(sysctl -n hw.logicalcpu) --output-on-failure
498498 - name : Build the source package for Python
499499 run : |
500- python python/pyxstubgen.py --pyxfile=build/python/_jsbsim.pyx --output=python/_jsbsim .pyi
500+ python python/pyxstubgen.py --pyxfile=build/python/_jsbsim.pyx --output=python/__init__ .pyi
501501 cp build/python/pyproject.toml .
502502 python -m build --sdist
503503 - name : Check reset for real time execution
Original file line number Diff line number Diff line change 1- from . import _jsbsim
21from ._jsbsim import (
32 __version__ ,
43 Attribute ,
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ cdef class FGPropertyNode:
270270 self.__intercept_invalid_pointer()
271271 return GetFullyQualifiedName(self.thisptr.ptr()).decode()
272272
273- def get_node(self, path: str, create: bool = False) -> Optional[SGPropertyNode ]:
273+ def get_node(self, path: str, create: bool = False) -> Optional[FGPropertyNode ]:
274274 """Get a pointer to another node by relative path.
275275
276276 :param path: The relative path from the node.
@@ -325,7 +325,7 @@ cdef class FGPropertyManager:
325325 if not self.thisptr:
326326 raise MemoryError()
327327
328- def get_node(self, path: Optional[str] = None, create: bool = False) -> Optional[SGPropertyNode ]:
328+ def get_node(self, path: Optional[str] = None, create: bool = False) -> Optional[FGPropertyNode ]:
329329 """@Dox(JSBSim::FGPropertyManager::GetNode)"""
330330 node = FGPropertyNode()
331331 if path is None:
You can’t perform that action at this time.
0 commit comments