Skip to content

Commit 39d6bcf

Browse files
authored
Merge pull request #103 from ServiceNow/scratch/bug-fixes
fix: address #101 and #102
2 parents f1fed33 + e65fff2 commit 39d6bcf

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

poetry.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ python = "^3.8"
2121
requests = "2.31.0"
2222
requests-oauthlib = { version = ">=1.2.0", optional = true}
2323
certifi = "2023.7.22"
24-
pip = "^23.3.1"
24+
pip = ">=23.3.1"
2525
urllib3 = "^2.0.7"
2626

2727
[tool.poetry.extras]

pysnc/record.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ def get(self, name, value=None) -> bool:
567567
self.query()
568568
return self.next()
569569

570-
def insert(self) -> Optional[str]:
570+
def insert(self) -> Optional[GlideElement]:
571571
"""
572572
Insert a new record.
573573
@@ -591,7 +591,7 @@ def insert(self) -> Optional[str]:
591591
rjson = response.json()
592592
raise InsertException(rjson['error'] if 'error' in rjson else f"{code} response on insert -- expected 201", status_code=code)
593593

594-
def update(self) -> Optional[str]:
594+
def update(self) -> Optional[GlideElement]:
595595
"""
596596
Update the current record.
597597

0 commit comments

Comments
 (0)