ServiceNow / PySNC

Python API for ServiceNow
MIT License
91 stars 28 forks source link

feat: Add a link to Glide Element when available #118

Closed andrewduckett closed 1 month ago

andrewduckett commented 1 month ago

Add a link attribute to Glide Elements that contain one. By default, the API should function as it did before and ignore the link field entirely. This was a little more involved than originally anticipated mostly due to how serialization works.

A new (optional) parameter exclude_reference_link was added to allow links to be excluded (default) or included (new) (see: https://docs.servicenow.com/bundle/xanadu-api-reference/page/integrate/inbound-rest/concept/c_TableAPI.html#d230634e1380)

NOTE: I did include some additional tests however I do not have a server to test this against so it's minimal at best.

vetsin commented 1 month ago

I think the tests failed as it doesn't like to inject secrets from forks, and i haven't figured that out