Upgrading google-cloud-core 0.26 to 0.27
Unknown0.26.0 → 0.27.1
Fetching 2 releases from GitHub…0 / 2
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Adds setuptools >=34.0.0.
Drops tenacity.
Installs 14 packages in all (was 15).
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
class Aborted(Conflict) - added:
class AlreadyExists(Conflict) - added:
class BadGateway(ServerError) - added:
class BadRequest(ClientError) - added:
class Cancelled(ClientError) - added:
class ClientError(GoogleAPICallError) - added:
class Conflict(ClientError) - added:
class DataLoss(ServerError) - added:
class DeadlineExceeded(GatewayTimeout) - added:
class FailedPrecondition(BadRequest) - added:
class Forbidden(ClientError) - added:
class GatewayTimeout(ServerError) - added:
class GoogleAPICallError(GoogleAPIError) - added:
class GoogleAPIError(Exception) - added:
class InternalServerError(ServerError) - added:
class InvalidArgument(BadRequest) - added:
class LengthRequired(ClientError) - added:
class MethodNotAllowed(ClientError) - added:
class MethodNotImplemented(ServerError) - added:
class MovedPermanently(Redirection) - added:
class NotFound(ClientError) - added:
class NotModified(Redirection) - added:
class OutOfRange(BadRequest) - added:
class PermissionDenied(Forbidden) - added:
class PreconditionFailed(ClientError) - added:
class Redirection(GoogleAPICallError) - added:
class RequestRangeNotSatisfiable(ClientError) - added:
class ResourceExhausted(TooManyRequests) - added:
class ResumeIncomplete(Redirection) - added:
class RetryError(GoogleAPIError) - added:
class ServerError(GoogleAPICallError) - added:
class ServiceUnavailable(ServerError) - added:
class TemporaryRedirect(Redirection) - added:
class TooManyRequests(ClientError) - added:
class Unauthenticated(Unauthorized) - added:
class Unauthorized(ClientError) - added:
class Unknown(ServerError) - added:
constructor GoogleAPICallError(message, errors=…, response=…) - added:
constructor RetryError(message, cause) - added:
field Aborted.grpc_status_code - added:
field AlreadyExists.grpc_status_code - added:
field BadGateway.code - added:
field BadRequest.code - added:
field Cancelled.code - added:
field Cancelled.grpc_status_code - added:
field Conflict.code - added:
field DataLoss.grpc_status_code - added:
field DeadlineExceeded.grpc_status_code - added:
field FailedPrecondition.grpc_status_code - added:
field Forbidden.code - added:
field GatewayTimeout.code - added:
field GoogleAPICallError.code - added:
field GoogleAPICallError.grpc_status_code - added:
field InternalServerError.code - added:
field InternalServerError.grpc_status_code - added:
field InvalidArgument.grpc_status_code - added:
field LengthRequired.code - added:
field MethodNotAllowed.code - added:
field MethodNotImplemented.code - added:
field MethodNotImplemented.grpc_status_code - added:
field MovedPermanently.code - added:
field NotFound.code - added:
field NotFound.grpc_status_code - added:
field NotModified.code - added:
field OutOfRange.grpc_status_code - added:
field PermissionDenied.grpc_status_code - added:
field PreconditionFailed.code - added:
field RequestRangeNotSatisfiable.code - added:
field ResourceExhausted.grpc_status_code - added:
field ResumeIncomplete.code - added:
field ServiceUnavailable.code - added:
field ServiceUnavailable.grpc_status_code - added:
field TemporaryRedirect.code - added:
field TooManyRequests.code - added:
field Unauthenticated.grpc_status_code - added:
field Unauthorized.code - added:
field Unknown.grpc_status_code - added:
function exception_class_for_grpc_status(status_code) - added:
function exception_class_for_http_status(status_code) - added:
function from_grpc_error(rpc_exc) - added:
function from_grpc_status(status_code, message, **kwargs) - added:
function from_http_response(response) - added:
function from_http_status(status_code, message, **kwargs) - added:
property GoogleAPICallError.errors - added:
property GoogleAPICallError.response - added:
property RetryError.cause - added:
variable grpc
- added:
export Future
- added:
class Future(object) - added:
method Future.add_done_callback(fn) - added:
method Future.cancel() - added:
method Future.cancelled() - added:
method Future.done() - added:
method Future.exception(timeout=…) - added:
method Future.result(timeout=…) - added:
method Future.running() - added:
method Future.set_exception(exception) - added:
method Future.set_result(result)
- added:
class PollingFuture(base.Future) - added:
constructor PollingFuture() - added:
method PollingFuture.add_done_callback(fn) - added:
method PollingFuture.done() - added:
method PollingFuture.exception(timeout=…) - added:
method PollingFuture.result(timeout=…) - added:
method PollingFuture.running() - added:
method PollingFuture.set_exception(exception) - added:
method PollingFuture.set_result(result)
- added:
function utcnow()
- added:
class Operation(polling.PollingFuture) - added:
constructor Operation(operation, refresh, cancel, result_type, metadata_type=…) - added:
function from_grpc(operation, operations_stub, result_type, **kwargs) - added:
function from_http_json(operation, api_request, result_type, **kwargs) - added:
method Operation.cancel() - added:
method Operation.cancelled() - added:
method Operation.done() - added:
property Operation.metadata - added:
property Operation.operation
- added:
class GRPCIterator(Iterator) - added:
class HTTPIterator(Iterator) - added:
class Iterator(object) - added:
class Page(object) - added:
constructor GRPCIterator(client, method, request, items_field, item_to_value=…, request_token_field=…, response_token_field=…, max_results=…) - added:
constructor HTTPIterator(client, api_request, path, item_to_value, items_key=…, page_token=…, max_results=…, extra_params=…, page_start=…, next_token=…) - added:
constructor Iterator(client, item_to_value=…, page_token=…, max_results=…) - added:
constructor Page(parent, items, item_to_value) - added:
method Page.next() - added:
property Iterator.pages - added:
property Page.num_items - added:
property Page.remaining
- added:
function expand(tmpl, *args, **kwargs) - added:
function validate(tmpl, path)
- added:
class Retry(object) - added:
constructor Retry(predicate=…, initial=…, maximum=…, multiplier=…, deadline=…) - added:
function exponential_sleep_generator(initial, maximum, multiplier=…) - added:
function if_exception_type(*exception_types) - added:
function retry_target(target, predicate, sleep_generator, deadline, on_error=…) - added:
method Retry.with_deadline(deadline) - added:
method Retry.with_delay(initial=…, maximum=…, multiplier=…) - added:
method Retry.with_predicate(predicate) - added:
variable if_transient_error
- added:
class ConstantTimeout(object) - added:
class ExponentialTimeout(object) - added:
constructor ConstantTimeout(timeout=…) - added:
constructor ExponentialTimeout(initial=…, maximum=…, multiplier=…, deadline=…) - added:
method ExponentialTimeout.with_deadline(deadline)
- removed:
class BadGateway(ServerError) - removed:
class BadRequest(ClientError) - removed:
class ClientError(GoogleCloudError) - removed:
class Conflict(ClientError) - removed:
class Forbidden(ClientError) - removed:
class GatewayTimeout(ServerError) - removed:
class GoogleCloudError(Exception) - removed:
class InternalServerError(ServerError) - removed:
class LengthRequired(ClientError) - removed:
class MethodNotAllowed(ClientError) - removed:
class MethodNotImplemented(ServerError) - removed:
class MovedPermanently(Redirection) - removed:
class NotFound(ClientError) - removed:
class NotModified(Redirection) - removed:
class PreconditionFailed(ClientError) - removed:
class Redirection(GoogleCloudError) - removed:
class RequestRangeNotSatisfiable(ClientError) - removed:
class ResumeIncomplete(Redirection) - removed:
class ServerError(GoogleCloudError) - removed:
class ServiceUnavailable(ServerError) - removed:
class TemporaryRedirect(Redirection) - removed:
class TooManyRequests(ClientError) - removed:
class Unauthorized(ClientError) - removed:
constructor GoogleCloudError(message, errors=…) - removed:
field BadGateway.code - removed:
field BadRequest.code - removed:
field Conflict.code - removed:
field Forbidden.code - removed:
field GatewayTimeout.code - removed:
field GoogleCloudError.code - removed:
field InternalServerError.code - removed:
field LengthRequired.code - removed:
field MethodNotAllowed.code - removed:
field MethodNotImplemented.code - removed:
field MovedPermanently.code - removed:
field NotFound.code - removed:
field NotModified.code - removed:
field PreconditionFailed.code - removed:
field RequestRangeNotSatisfiable.code - removed:
field ResumeIncomplete.code - removed:
field ServiceUnavailable.code - removed:
field TemporaryRedirect.code - removed:
field TooManyRequests.code - removed:
field Unauthorized.code - removed:
function from_http_response(response) - removed:
function from_http_status(status_code, message, errors=…) - removed:
property GoogleCloudError.errors - added:
variable BadGateway - added:
variable BadRequest - added:
variable ClientError - added:
variable Conflict - added:
variable Forbidden - added:
variable GatewayTimeout - added:
variable GoogleCloudError - added:
variable InternalServerError - added:
variable LengthRequired - added:
variable MethodNotAllowed - added:
variable MethodNotImplemented - added:
variable MovedPermanently - added:
variable NotFound - added:
variable NotModified - added:
variable PreconditionFailed - added:
variable Redirection - added:
variable RequestRangeNotSatisfiable - added:
variable ResumeIncomplete - added:
variable ServerError - added:
variable ServiceUnavailable - added:
variable TemporaryRedirect - added:
variable TooManyRequests - added:
variable Unauthorized - added:
variable from_http_response - added:
variable from_http_status
- removed:
export Future
- removed:
class Future(object) - removed:
method Future.add_done_callback(fn) - removed:
method Future.cancel() - removed:
method Future.cancelled() - removed:
method Future.done() - removed:
method Future.exception(timeout=…) - removed:
method Future.result(timeout=…) - removed:
method Future.running() - removed:
method Future.set_exception(exception) - removed:
method Future.set_result(result)
- removed:
class Operation(polling.PollingFuture) - removed:
constructor Operation(operation, refresh, cancel, result_type, metadata_type=…) - removed:
function from_grpc(operation, operations_stub, result_type, **kwargs) - removed:
function from_http_json(operation, api_request, result_type, **kwargs) - removed:
method Operation.cancel() - removed:
method Operation.cancelled() - removed:
method Operation.done() - removed:
property Operation.metadata - removed:
property Operation.operation
- removed:
class PollingFuture(base.Future) - removed:
constructor PollingFuture() - removed:
method PollingFuture.add_done_callback(fn) - removed:
method PollingFuture.done() - removed:
method PollingFuture.exception(timeout=…) - removed:
method PollingFuture.result(timeout=…) - removed:
method PollingFuture.running() - removed:
method PollingFuture.set_exception(exception) - removed:
method PollingFuture.set_result(result)
- removed:
class GAXIterator(Iterator) - removed:
class HTTPIterator(Iterator) - removed:
class Iterator(object) - removed:
class Page(object) - removed:
constructor GAXIterator(client, page_iter, item_to_value, max_results=…) - removed:
constructor HTTPIterator(client, path, item_to_value, items_key=…, page_token=…, max_results=…, extra_params=…, page_start=…) - removed:
constructor Iterator(client, item_to_value, page_token=…, max_results=…) - removed:
constructor Page(parent, items, item_to_value) - removed:
method Page.next() - removed:
property Iterator.pages - removed:
property Page.num_items - removed:
property Page.remaining - removed:
variable DEFAULT_ITEMS_KEY