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

FT-843: Implement GET operation that takes a list of attributes and relationships #458

Merged
merged 18 commits into from
Jan 6, 2025

Conversation

vaibhavatlan
Copy link
Collaborator

Breaking Change:

  • Changed the default setting of ignore_relationships = False to ignore_relationships = True

Features:

  • Added attribute and relationships_attributes params in AssetClient.get_by_qualified_name() and AssetClient.get_by_guid() which uses fluent search and not the default raw api call

Copy link
Member

@Aryamanz29 Aryamanz29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good progress!
Here are a few minor changes:

pyatlan/client/asset.py Outdated Show resolved Hide resolved
pyatlan/client/asset.py Outdated Show resolved Hide resolved
pyatlan/client/asset.py Outdated Show resolved Hide resolved
pyatlan/client/asset.py Outdated Show resolved Hide resolved
pyatlan/client/asset.py Outdated Show resolved Hide resolved
pyatlan/client/asset.py Outdated Show resolved Hide resolved
Copy link
Member

@Aryamanz29 Aryamanz29 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Make sure when writing integration tests to check real-world scenarios (which I later fixed in my latest commits) ✅

For example, in your previous integration tests, you only tested for [attributes=["name", "qualified_name"] which misses cases for 🧪

  • related_attributes
  • attributes (using AtlanField)
  • related_attributes (using AtlanField)

@Aryamanz29 Aryamanz29 merged commit 2393632 into main Jan 6, 2025
41 checks passed
@Aryamanz29 Aryamanz29 deleted the FT-843 branch January 6, 2025 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants