-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Refactor API request functions with improved URL filtering and region… #232
base: main
Are you sure you want to change the base?
Conversation
… support >> >> - Add support for include/exclude URL filtering >> - Improve database connection and region handling >> - Clean up code and enhance readability"
Refactor API request functions with improved URL filtering and region…
get_api_requests_for_one_user_func = ( | ||
get_api_requests_for_one_user if national_or_sites == "National" | ||
else get_api_requests_for_one_user_sites | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you mind putting it back how it was, I find it easier to read?
session=session, | ||
email=email_selected, | ||
start_datetime=start_time, | ||
end_datetime=end_time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cant see any extra filtering in here? Perhaps this is in the other PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mind just doing one PR? Im getting a bit confused here
Pull Request
Description
Please delete the italicised instruction text!
Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration
If your changes affect data processing, have you plotted any changes? i.e. have you done a quick sanity check?
Checklist: