github Azure/azure-sdk-for-python azure-cognitiveservices-vision-customvision_2.0.0

latest releases: azure-communication-rooms_1.1.0, azure-communication-jobrouter_1.1.0b1, azure-template_0.1.0b3703562...
3 years ago

2.0.0 (2020-05-14)

Features

  • Model Iteration has a new parameter training_time_in_minutes
  • Model ProjectSettings has a new parameter image_processing_settings
  • Model ProjectSettings has a new parameter detection_parameters
  • Model ProjectSettings has a new parameter use_negative_set
  • Model Project has a new parameter status
  • Added operation CustomVisionPredictionClientOperationsMixin.detect_image_with_no_store
  • Added operation CustomVisionPredictionClientOperationsMixin.detect_image_url
  • Added operation CustomVisionPredictionClientOperationsMixin.classify_image_url
  • Added operation CustomVisionPredictionClientOperationsMixin.detect_image_url_with_no_store
  • Added operation CustomVisionPredictionClientOperationsMixin.classify_image_url_with_no_store
  • Added operation CustomVisionPredictionClientOperationsMixin.classify_image_with_no_store
  • Added operation CustomVisionPredictionClientOperationsMixin.classify_image
  • Added operation CustomVisionPredictionClientOperationsMixin.detect_image
  • Added operation group CustomVisionTrainingClientOperationsMixin

General Breaking changes

This version uses a next-generation code generator that might
introduce breaking changes if from some import. In summary, some modules
were incorrectly visible/importable and have been renamed. This fixed
several issues caused by usage of classes that were not supposed to be
used in the first place.

  • CustomVisionPredictionClient cannot be imported from azure.cognitiveservices.vision.customvision.prediction
    anymore (import from azure.cognitiveservices.vision.customvision works like before)
  • CustomVisionPredictionClientConfiguration import has been moved from
    azure.cognitiveservices.vision.customvision.prediction to azure.cognitiveservices.vision.customvision.prediction
  • A model MyClass from a "models" sub-module cannot be imported
    anymore using azure.cognitiveservices.vision.customvision.prediction.models.my_class (import from
    azure.cognitiveservices.vision.customvision.prediction.models works like before)
  • An operation class MyClassOperations from an operations
    sub-module cannot be imported anymore using
    azure.cognitiveservices.vision.customvision.operations.prediction.my_class_operations (import
    from azure.cognitiveservices.vision.customvision.prediction.operations works like before)
  • CustomVisionTrainingClient cannot be imported from azure.cognitiveservices.vision.customvision.training
    anymore (import from azure.cognitiveservices.vision.customvision works like before)
  • CustomVisionTrainingClientConfiguration import has been moved from
    azure.cognitiveservices.vision.customvision.training to azure.cognitiveservices.vision.customvision.training
  • A model MyClass from a "models" sub-module cannot be imported
    anymore using azure.cognitiveservices.vision.customvision.training.models.my_class (import from
    azure.cognitiveservices.vision.customvision.training.models works like before)
  • An operation class MyClassOperations from an operations
    sub-module cannot be imported anymore using
    azure.cognitiveservices.vision.customvision.operations.training.my_class_operations (import
    from azure.cognitiveservices.vision.customvision.training.operations works like before)

Last but not least, HTTP connection pooling is now enabled by default.
You should always use a client as a context manager, or call close(), or
use no more than one client per process.

Don't miss a new azure-sdk-for-python release

NewReleases is sending notifications on new releases.