Skip to content
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

Modification of the method "get_attendances" #138

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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