pygrocy icon indicating copy to clipboard operation
pygrocy copied to clipboard

Add done attribute to shopping list

Open DellanX opened this issue 2 years ago • 1 comments

Description

I needed to be able to determine whether or not the item was checked off in Grocy. Thus I mapped the 'done' attribute over from the raw shopping list item.

NOTE: Tox didn't run out of the box correctly for me, I needed to add a comma on line 5 between TRAVIS and TRAVIS_* to get the test suite to run correctly.

Related issue (if applicable): NA

Checklist

  • [X] The code change is tested and works locally.
  • [X] tests pass. Your PR won't be merged unless tests pass
  • [X] There is no commented out code in this PR

DellanX avatar Feb 02 '24 16:02 DellanX

I have a second commit following this one on my branch at: https://github.com/DellanX/pygrocy/tree/feature/annotate-data-models.

I'd like to close this PR before attempting that one, as that PR will fix a bunch of issues cause by null data, and adds None type annotations

DellanX avatar Feb 03 '24 17:02 DellanX