pysnow icon indicating copy to clipboard operation
pysnow copied to clipboard

ServiceNow API Client Library

Results 23 pysnow issues
Sort by recently updated
recently updated
newest added

I am trying to update the description of a standard change request like shown below but getting error ``` api_path = /sn_chg_rest/change/standard/7fb6375cdb4624106377cae43a961924 base_path = /api client = pysnow.Client(instance=instance, user=os.environ["USERNAME"], password=os.environ["PASSWORD"])...

Adds support for passing target as string: ```python updated = resource.update("1c741bd70b2322007518478d83673af3", {"short_description": "test"}) print(updated["short_description"]) ``` Selection using a dict-type query or the `QueryBuilder` still works: ```python updated = resource.update({"number": "INC012345"},...

``` import pysnow # Create client object c = pysnow.Client(instance='********', user='*******', password='*********') # Define a resource, here we'll use the incident table API incident = c.resource(api_path='/table/incident') # Query for incident...

I am trying to make a query to a custom API name in our servicenow instance like the following: `https://$COMPANY.service-now.com/api/now/on_call_rota/current?group_name=$GROUPNAME` However, am getting back empty responses or exceptions. I've tried...

Is this project still being maintained? Or should it be public archived?

When `host` is an empty string while `instance` is not specified, `(host and instance) is not None` will return `True` because `(host and instance)` will evaluate to `''`. In this...

Ran into an issue where I noticed URLs including query parameters from previous requests. Tracked it down to a [shallow copy of parameters](https://github.com/rbw/pysnow/blob/caad5bf/pysnow/resource.py#L82) which gets [persisted on the resource](https://github.com/rbw/pysnow/blob/caad5bf/pysnow/request.py#L99). I...

Unable to install pysnow because of the following dependencies that we have: pysnow 0.7.17 depends on pytz=2019.3 Where has Pandas depends on higher version: pandas 1.4.4 depends on pytz>=2020.1 Could...

Bumping the pytz requirements after seeing that they are mostly used for offsetting time and providing the UTC offset. Run test_criterion and test_query_builder and returned no errors. I assume they...

I'm having an issue with importing the module in python 3.9.9 on a Windows 10 device. The issue first started with the library not importing at all (It would just...