-
Notifications
You must be signed in to change notification settings - Fork 1
KEH-2025 Copilot Lambda New Endpoints Refactor #74
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
Merged
+97
−737
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
d634825
fix: no logs in terminal when not logging locally
hadiqur 8d3d604
refactor: change usage data source to new endpoint
hadiqur 51953af
fix: resolve data structure issues and improve logging
hadiqur 5ecdad5
refactor: update TestGetAndUpdateHistoricUsage
hadiqur c73c4d3
refactor: remove functions responsible for handling team data
hadiqur 4e02c38
chore: poetry lock
hadiqur cca1ac3
refactor: improve logging and use requests
hadiqur 7d209ce
refactor: strip down tests
hadiqur 660d113
fix: missing dependency in tests
hadiqur a755b3e
refactor: improve assertions in test_handler_success
hadiqur 501a5be
fix: bump black to 26.3.1
hadiqur e0ab4a6
docs: update overview and team usage
hadiqur ae36401
chore: comment main guard
hadiqur c39d462
Merge branch 'main' into new-endpoint-refactor
hadiqur 29ac72b
fix: update pyproject.toml
hadiqur ec65eb8
docs: remove everything related to team usage
hadiqur 68f314f
Merge branch 'new-endpoint-refactor' of https://github.com/ONS-Innova…
hadiqur 28c4bea
refactor: rename file in s3
hadiqur 3edecb9
refactor: always log locally if logging toggled
hadiqur cbfff97
refactor: update tests
hadiqur d5579a0
fix: catch AttributeError exception when serializing response as json
hadiqur 75ea3d2
perf: only sort newly added dates rather than whole historic usage
hadiqur 9eff158
refactor: update files to reflect current logging practice
hadiqur 2e328d4
perf: only import get from requests library
hadiqur 4bfc290
tests: improve readability by moving mock api response and usage data…
hadiqur f620ead
chore: improve comments in test file
hadiqur 550bc27
chore: improve comments in test file once more
hadiqur 105b9c2
perf: implement historic_usage_set to optimise new usage data lookup
hadiqur eaac964
fix: linting errors
hadiqur 2f18b6e
chore: comment main guard
hadiqur eac51ff
refactor: logging enabled by default
hadiqur 298af15
fix: linting errors
hadiqur File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| { | ||
| "features": { | ||
| "show_log_locally": false, | ||
| "write_data_locally": false | ||
| } | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.