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

Update metadata labels. #370

Merged
merged 7 commits into from
May 12, 2022

Conversation

AtKristijan
Copy link
Contributor

@AtKristijan AtKristijan commented Apr 12, 2022

Add new labels for metadata in ricecooker and validate them with le_utils

fixes #367

Copy link
Member

@rtibbles rtibbles left a comment

Choose a reason for hiding this comment

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

A good start - we also need to include these labels in the dict that is created to be sent to Studio.

ricecooker/classes/nodes.py Outdated Show resolved Hide resolved
ricecooker/classes/nodes.py Outdated Show resolved Hide resolved
@rtibbles
Copy link
Member

Can you ensure that this PR is rebased to latest develop? The linting and tests should all be passing.

@rtibbles
Copy link
Member

This PR is aimed at fixing #367 - it does not fix #3356, as that needs to be implemented on Studio to allow the sending of these new labels via the ricecooker specific endpoints.

@AtKristijan
Copy link
Contributor Author

I checked and tried to rebase but it was last one. I also did pre-commit to check if everything is okay with linting

@AtKristijan
Copy link
Contributor Author

My local machine and github is giving different results for linting. Reorder is the problem.

Copy link
Member

@rtibbles rtibbles left a comment

Choose a reason for hiding this comment

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

Still some updates to do here.

I have had similar issues with the import sorting - it seems to be something to do with whether modules are available locally or not when the import sorting happens, but I've not found a good fix for it. Would be good to work out if you have any ideas.

ricecooker/classes/nodes.py Outdated Show resolved Hide resolved
ricecooker/classes/nodes.py Outdated Show resolved Hide resolved
ricecooker/classes/nodes.py Show resolved Hide resolved
@AtKristijan AtKristijan requested a review from rtibbles May 10, 2022 09:18
@rtibbles
Copy link
Member

Hrm, not sure why but locally my pre-commit is now agreeing with the github action.

@rtibbles rtibbles merged commit c441f33 into learningequality:develop May 12, 2022
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