ServiceNow / PySNC

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

Type declaration for insert and update in GlideRecord is incorrect #102

Closed heigum closed 7 months ago

heigum commented 7 months ago

Hi there, using 1.1.6 version of your lib to do some ServiceNow automation.

The methods insert and update on the GlideRecord are declared as

Optional(str)

This is incorrect they should have been declared as

Optional(GlideElement)

or made to return the sys_is as a str.