get_sherlock_info#
- Common.get_sherlock_info() str #
Get server Sherlock version.
- Returns:
Sherlock information containing releaseVersion, defaultProjectDir and isSingleProjectMode flag
- Return type:
SherlockInfoResponse
Examples
>>> from ansys.sherlock.core.launcher import launch_sherlock >>> sherlock = launch_sherlock() >>> release_version = sherlock.common.get_sherlock_info().releaseVersion >>> default_dir = sherlock.common.get_sherlock_info().defaultProjectDir >>> is_single_project = sherlock.common.get_sherlock_info().isSingleProjectMode