Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to create entities using any method of PurviewCollectionsClient #288

Open
ivanochkah opened this issue Mar 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ivanochkah
Copy link

ivanochkah commented Mar 27, 2024

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.

@ivanochkah ivanochkah added the bug Something isn't working label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant