Skip to content

CustomVision - CustomVisionTrainingClient can not be imported from azure.cognitiveservices.vision.customvision #11504

Description

@iMicknl
  • Package Name: Custom Vision
  • Package Version: 2.0.0
  • Operating System: Linux
  • Python Version: 3.6

Describe the bug
azure-cognitiveservices-vision-customvision 2.0.0 on PyPi mentions:

CustomVisionTrainingClient cannot be imported from `azure.cognitiveservices.vision.customvision.training anymore` (import from `azure.cognitiveservices.vision.customvision` works like before)

To Reproduce
Steps to reproduce the behavior:
from azure.cognitiveservices.vision.customvision import CustomVisionTrainingClient

ImportError: cannot import name 'CustomVisionTrainingClient'

Importing it from azure.cognitiveservices.vision.customvision.training works.

Expected behavior
Importing from azure.cognitiveservices.vision.customvision should work, or it should be updated in the documentation.

Additional context
Related to #11503

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.Cognitive - Custom VisionService AttentionWorkflow: This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions