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

feat: add support for studios and data-links #202

Merged
merged 6 commits into from
Feb 18, 2025
Merged

Conversation

ejseqera
Copy link
Member

Re #201

@ejseqera ejseqera requested a review from adamrtalbot February 16, 2025 19:50
Copy link
Collaborator

@adamrtalbot adamrtalbot left a comment

Choose a reason for hiding this comment

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

All seems pretty straightforward. The method is a bit unclear and I think some additional comments or docstrings would help.

Comment on lines +357 to +365
for resource in resources:
if resource_type == "labels":
if resource.get("name") == utils.resolve_env_var(name) and resource.get(
"value"
) == utils.resolve_env_var(value):
return resource.get("id")
elif resource_type == "data-links":
if resource.get("name") == utils.resolve_env_var(name):
return resource.get("id")
Copy link
Collaborator

Choose a reason for hiding this comment

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

It's not very clear what this bit is doing and why it's needed. Might need to expand the docstrings and comments to explain it's purpose.

Copy link
Member Author

Choose a reason for hiding this comment

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

Added detail to the docstring for clarity.

@ejseqera ejseqera merged commit 5b68aaa into dev Feb 18, 2025
2 checks passed
@ejseqera ejseqera deleted the add-studios-support branch February 18, 2025 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants