ni / nisystemlink-clients-python

Python API for interacting with a SystemLink Server, created and supported by NI.
https://ni.com/systemlink
MIT License
10 stars 18 forks source link

feat: Add workspace field to httpconfiguration #64

Closed santhoshramaraj closed 1 month ago

santhoshramaraj commented 5 months ago

What does this Pull Request accomplish?

Why should this Pull Request be merged?

Automated Agent role does not support write access to several services. Applications that run on the remote system that need write access to these unsupported services must use user's API key. Default workspace of user's API key may not be the same as that of an Automated Agent.

workspace field of httpconfiguration helps the user application to use the remote system's default workspace even when using user's API key.

What testing has been done?

Manually tested on local machine with SystemLink client,

from nisystemlink.clients.core import HttpConfigurationManager
print(HttpConfigurationManager.get_configuration().workspace)

Test Result: