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

Visible datasets #2997

Merged
merged 11 commits into from
Mar 29, 2024
Merged

Visible datasets #2997

merged 11 commits into from
Mar 29, 2024

Conversation

quaxsze
Copy link
Contributor

@quaxsze quaxsze commented Mar 20, 2024

No description provided.

@quaxsze quaxsze requested a review from maudetes March 25, 2024 18:36
Copy link
Contributor

@maudetes maudetes left a comment

Choose a reason for hiding this comment

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

Thank you! It will make dataset visibility more straightforward to users!

udata/core/dataset/factories.py Show resolved Hide resolved
udata/search/__init__.py Show resolved Hide resolved
udata/tests/api/test_datasets_api.py Outdated Show resolved Hide resolved
transfer = TransferFactory(owner=owner,
recipient=recipient,
subject=subject)

owner.count_datasets()
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we now need to call it explicitly here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The signal does not seem to be triggered

Copy link
Contributor

Choose a reason for hiding this comment

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

It probably isn't triggered anymore due to the removal of

from udata.core.user.metrics import update_owner_metrics
from udata.core.organization.metrics import update_org_metrics

Could you add these instead with maybe a noqa comment and a small explanation?

@quaxsze quaxsze requested a review from maudetes March 26, 2024 19:10
Copy link
Contributor

@maudetes maudetes left a comment

Choose a reason for hiding this comment

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

🙏

@maudetes maudetes merged commit 94603e3 into master Mar 29, 2024
1 check passed
@maudetes maudetes deleted the VisibleDatasets branch March 29, 2024 14:56
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.

3 participants