-
Notifications
You must be signed in to change notification settings - Fork 72
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
support active property on taxonomy elements #3784
Conversation
Passing run #3202 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
3225501
to
b5702eb
Compare
hey @ThomasLaPiana - i might be wrong, but i think the mypy failures i'm seeing on this branch right now are due to the packaging updates made to i did a little bit of digging on the packaging updates and nothing stood out to me immediately - though i did notice this discrepancy in the unzipped wheels of the two package versions. perhaps it's something to do with the (you can ignore the other CI failures on this branch for now, it seems like some unrelated blip retrieving a JS resource) |
Ah, I see...not sure why the packaging changes would affect anything other than I fixed some things, which with We could try to just ignore |
I'm playing around with the mypy stuff...I'll let you know if I get anywhere! |
b5702eb
to
a9c51de
Compare
@adamsachs now that we've backed out the |
@ThomasLaPiana another one for you when you've got a chance. This one should (hopefully) be relatively quick - i think where i landed is basically what you'd suggested on the fideslang issue! |
@adamsachs looks like ops integration tests are failing? Edit: oh right, because of |
😂 welllll not quite because the issues are still on that being said, IMO the mypy errors aren't showstoppers - but we do need to figure out what to do about mssql before releasing, i think! |
oh right.....well no worries! we can just ship it with the mypy breaks and then I'll work on the fix. I think the easiest fix would be rewriting the entire thing in Rust so |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks a bunch for the quick review @ThomasLaPiana and the extra confirmation!!! 👍 |
@jpople just an FYI that now that this is merged into the update here to the API is that the endpoints used for CRUD operations on taxonomy elements now take an additional but please don't hesitate to reach out if any of that isn't clear or if it doesn't get you what you need to make the FE updates! |
Closes #3709
Description Of Changes
Extends taxonomy pydantic models defined in
fideslang
to add anactive
boolean property, and updates the corresponding db model for these taxonomy elements. This enables us to update and persist this property on taxonomy elements via the CRUD API.Code Changes
fideslang
pydantic models for taxonomy elements to support anactive
boolean fieldactive
property to the db model for taxonomy elements:DataUse
,DataSubject
,DataQualifier
,DataCategory
server_default
value ofTrue
for the property, which means that all existing taxonomy elements on the system automatically get a value ofTrue
Steps to Confirm
active
property should probably be sufficient here! see screenshot below for one of those testsPre-Merge Checklist
CHANGELOG.md