Skip to content

Modification of the method "get_attendances"#138

Open
luislclams wants to merge 1 commit into
fananimi:masterfrom
luislclams:master
Open

Modification of the method "get_attendances"#138
luislclams wants to merge 1 commit into
fananimi:masterfrom
luislclams:master

Conversation

@luislclams

Copy link
Copy Markdown

Limit the number of records to get

Limit the number of records to get
@housemateguy

Copy link
Copy Markdown

When I use this method I usually get all attendance records in a variable and then filter them by the date (or DateTime) periods I want. this could be better if we instead get limit the records we get by the date.

@ahernandez-lf

Copy link
Copy Markdown

this PR is not for that. It helps to break the get_attendance in smaller blocks (not related to the date) did you review it properly? (with an actual device and that it still works correctly without argument?)

I couldn't test it, and it seems fishy the usage of self.records (where it's cleared/seted ?)

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.

4 participants