def ThrottleLayout(bandwidth_limit, http_limit, rps_limit):
 bulkloader_limits = dict(remote_api_throttle.NO_LIMITS)
 bulkloader_limits.update({remote_api_throttle.BANDWIDTH_UP: bandwidth_limit, remote_api_throttle.BANDWIDTH_DOWN: bandwidth_limit, remote_api_throttle.REQUESTS: http_limit, remote_api_throttle.HTTPS_BANDWIDTH_UP: bandwidth_limit, remote_api_throttle.HTTPS_BANDWIDTH_DOWN: bandwidth_limit, remote_api_throttle.HTTPS_REQUESTS: http_limit, remote_api_throttle.ENTITIES_FETCHED: rps_limit, remote_api_throttle.ENTITIES_MODIFIED: rps_limit})
 return bulkloader_limits

def ThrottleLayout ( bandwidth_limit , http_limit , rps_limit ) : bulkloader_limits = dict ( remote_api_throttle . NO_LIMITS ) bulkloader_limits . update ( { remote_api_throttle . BANDWIDTH_UP : bandwidth_limit , remote_api_throttle . BANDWIDTH_DOWN : bandwidth_limit , remote_api_throttle . REQUESTS : http_limit , remote_api_throttle . HTTPS_BANDWIDTH_UP : bandwidth_limit , remote_api_throttle . HTTPS_BANDWIDTH_DOWN : bandwidth_limit , remote_api_throttle . HTTPS_REQUESTS : http_limit , remote_api_throttle . ENTITIES_FETCHED : rps_limit , remote_api_throttle . ENTITIES_MODIFIED : rps_limit } ) return bulkloader_limits
return a dictionary indicating the throttle options .