Skip to content

Impossible to create entities using any method of PurviewCollectionsClient #288

Description

@ivanochkah

Describe the bug
All methods related to entity creation within a specific collection (move_entities, upload_single_entity, upload_entities) don't work. These methods have to be adjusted to the new Purview API version that expects a different URL format.

To Reproduce
Steps to reproduce the behavior:

  1. Initialize an instance of PurviewCollectionsClient
  2. Create a valid AtlasEntity
  3. Call any of the methods above of the client, passing the new Entity
  4. See error:
    HTTPError: 404 Client Error: Not Found for url: https://abcdefg.purview.azure.com/account/catalog/api/collections/xxxxxx/entity?api-version=2022-03-01-preview

Expected behavior
Entity is created

Screenshots

Desktop (please complete the following information):

  • OS: Azure Synapse Notebook
  • PyApacheAtlas Version (python -m pyapacheatlas --version): pyapacheatlas-0.16.0

Additional context
Add any other context about the problem here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions