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

[sc-28999] Custom metadata command #26

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

usefulalgorithm
Copy link
Contributor

@usefulalgorithm usefulalgorithm commented Oct 9, 2024

🤔 Why?

Need a command to manage custom metadata.

🤓 What?

Added command for custom metadata. Subcommands:

  • get: get custom metadata on a dataset
  • add: add a single custom metadata
  • remove: remove a single custom metadata
  • update: batch update with an input file

🧪 Tested?

Listing custom metadata:
截圖 2024-10-09 下午6 05 07

Adding custom metadata:
截圖 2024-10-09 下午6 05 48

Batch update:
截圖 2024-10-09 下午6 28 41

Also added unit tests.

Copy link

github-actions bot commented Oct 9, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
691 480 69% 0% 🟢

New Files

File Coverage Status
aesop/commands/aspects/custom_metadata.py 82% 🟢
TOTAL 82% 🟢

Modified Files

File Coverage Status
aesop/app.py 86% 🟢
aesop/commands/aspects/user_defined_resources/tags/node.py 70% 🟢
aesop/commands/common/arguments.py 52% 🟢
aesop/commands/webhooks/webhooks.py 70% 🟢
TOTAL 69% 🟢

updated for commit: 9a1ac4e by action🐍

@usefulalgorithm usefulalgorithm enabled auto-merge (squash) October 11, 2024 04:25
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.

1 participant