solidworks_mcp.selftest.environment¶
solidworks_mcp.selftest.environment ¶
The report's environment section: SolidWorks, Python and this package.
Attributes¶
Functions:¶
_package_version ¶
An installed distribution's version, or None when it isn't installed.
read_environment
async
¶
Describe the setup the selftest ran on.
A value that can't be read is None; nothing here stops the run.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
adapter
|
Any
|
The connected adapter. |
required |
year
|
int | None
|
The SolidWorks year the server was started with. |
required |
Returns:
| Type | Description |
|---|---|
dict[str, Any]
|
dict[str, Any]: |
dict[str, Any]
|
|
dict[str, Any]
|
|