Skip to content

Conversation

@luislclams
Copy link

Limit the number of records to get

Limit the number of records to get
@housemateguy
Copy link

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

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