MCPcopy Index your code
hub / github.com/pyinvoke/invoke / set_runtime_path

Method set_runtime_path

invoke/config.py:754–766  ·  view source on GitHub ↗

Set the runtime config file path. .. versionadded:: 1.0

(self, path: Optional[PathLike])

Source from the content-addressed store, hash-verified

752 self._load_file(prefix="project", merge=merge)
753
754 def set_runtime_path(self, path: Optional[PathLike]) -> None:
755 """
756 Set the runtime config file path.
757
758 .. versionadded:: 1.0
759 """
760 # Path to the user-specified runtime config file.
761 self._set(_runtime_path=path)
762 # Data loaded from the runtime config file.
763 self._set(_runtime={})
764 # Whether the runtime config file has been loaded or not (or ``None``
765 # if no loading has been attempted yet.)
766 self._set(_runtime_found=None)
767
768 def load_runtime(self, merge: bool = True) -> None:
769 """

Calls 1

_setMethod · 0.80

Tested by

no test coverage detected