mustachemo / data-runner

Intuitive and integrity driven data clean up tool
https://drive.google.com/file/d/1C_1nEKgnzB0OEN7P5VxO2JOAMSAkF4LI/view?usp=sharing
0 stars 0 forks source link

Feature/datatpe clean #72

Closed mustachemo closed 1 year ago

mustachemo commented 1 year ago
  1. Set datatype enforcement in "User Preferences"
  2. Click "Check Datatype Clean"
  3. Modify the cells
  4. click "Confirm Changes" button
  5. click "Reset Table"
  6. Click "Confirm Changes" button again to verify the results

i don't think removing rows works. but we can add that later

I've also added notification support. Now you can add any notification to any callback, follow these steps:

  1. for your callback make an output called "Output('notifications-container', 'children', allow_duplicate=True)"
  2. make a notification variable with dmc.Notification, example is " notification = dmc.Notification( title="Changes updated!", id="simple-notify", color="green", action="show", message="", autoClose=3000, icon=DashIconify(icon="akar-icons:circle-check") ) "
  3. and return it!
mustachemo commented 1 year ago

i forgot to put funnctions in their prooper utility classes. i'll do that after you guys check

Koltheguy commented 1 year ago

Attempting to run "run.py" results in the following error. I've also attempted this after rebuilding the env. I'll provide updates when I find a resolution. Consider merging the develop branch into this one before we continue with the pull request.

Traceback (most recent call last): File "C:\Users\usr\OneDrive\Documents\GitHub\data-runners\run.py", line 1, in from dashboard import app File "C:\Users\usr\OneDrive\Documents\GitHub\data-runners\dashboard__init__.py", line 29, in Output('editable-table', 'data', allow_duplicate=True), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: DashDependency.init() got an unexpected keyword argument 'allow_duplicate'

mustachemo commented 1 year ago

Attempting to run "run.py" results in the following error. I've also attempted this after rebuilding the env. I'll provide updates when I find a resolution. Consider merging the develop branch into this one before we continue with the pull request.

Traceback (most recent call last): File "C:\Users\usr\OneDrive\Documents\GitHub\data-runners\run.py", line 1, in from dashboard import app File "C:\Users\usr\OneDrive\Documents\GitHub\data-runners\dashboardinit.py", line 29, in Output('editable-table', 'data', allow_duplicate=True), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: DashDependency.init() got an unexpected keyword argument 'allow_duplicate'

that's a weird error. allow_duplicate has been used in most of our callbacks.