Skip to content

Commit 6f2ecbb

Browse files
committed
feat: have correct return type
1 parent d450698 commit 6f2ecbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sw360/vendor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def update_vendor(self, vendor: Dict[str, Any], vendor_id: str) -> Optional[Dict
8383
url = self.url + "resource/api/vendors/" + vendor_id
8484
return self.api_patch(url, json=vendor)
8585

86-
def delete_vendor(self, vendor_id: str) -> Dict[str, Any]:
86+
def delete_vendor(self, vendor_id: str) -> Optional[Dict[str, Any]]:
8787
"""Delete an existing vendor
8888
8989
API endpoint: DELETE /vendors

0 commit comments

Comments
 (0)