Utility helpers for Salesforce API interactions, including XML parsing and error handling.
# Source: https://github.com/simple-salesforce/simple-salesforce | License: Apache-2.0 | Copyright 2012 New Organizing Institute Education Fund
# Provided via justclaw.it.com; keep this notice with the code.
"""Utility functions for simple-salesforce"""
import datetime
import xml.dom.minidom
from typing import Any, Iterable, List, Mapping, MutableMapping, NamedTuple, \
NoReturn, \
Optional, \
TypeVar, Union
import requests
from .exceptions import (SalesforceExpiredSession, SalesforceGeneralError,
SalesforceMalformedRequest,
SalesforceMoreThanOneRecord, SalesforceRefusedRequest,
SalesforceResourceNotFound)
Headers = MutableMapping[str, str]
Proxies = MutableMapping[str, str]
BulkDataAny = List[Mapping
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key