-
Notifications
You must be signed in to change notification settings - Fork 15
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
🏗️(backends) migrate LRSHTTPBackend to LRSDataBackend #524
Conversation
da71183
to
aad886a
Compare
a80bb8d
to
c00b87c
Compare
aad886a
to
22699e6
Compare
c00b87c
to
04046d1
Compare
68875b0
to
7fe00fb
Compare
b582a00
to
1e9bd8c
Compare
7fe00fb
to
eb756f1
Compare
1e9bd8c
to
6b646dc
Compare
eb756f1
to
7c565f1
Compare
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.
We should also update the documentation for the LRS HTTP backends (even if it's not mature yet, we reference it here https://openfun.github.io/ralph/master/backends/#learning_record_store_lrs_-_http_backend_interface)
6b646dc
to
34bd639
Compare
7c565f1
to
5db2377
Compare
0e49ffb
to
35c33f2
Compare
5db2377
to
5b89b09
Compare
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.
Nice tidying. Looks good to me :)
35c33f2
to
399c070
Compare
5b89b09
to
5bbd28b
Compare
b550933
to
6956c70
Compare
d342c4c
to
5fe4fe3
Compare
d5fa232
to
88c0868
Compare
5fe4fe3
to
cf3899d
Compare
Good point) Thanks) Moved the documentation update related to the LRS data backend made in the WebSocket PR here) |
8332dc7
to
a316f0d
Compare
b3c2803
to
94a9650
Compare
The interface of the http backends are now very similar to the data backends. Thus, to limit redundant interfaces we opt to move the LRSHTTPBackend and AsyncLRSHTTPBackend to the data backend package. We also update the cli write command to align more with the data backend interface. Moreover, the LRSDataBackend no longer inherits from the AsyncLRSDataBackend to alow it's usage in an async context. Finally, the behavior of the sync and async versions of the lrs data backend are very similar. Thus, to keep both implementations inline, we tests both of them in the same file.
94a9650
to
6a3a517
Compare
Purpose
The interface of the http backends are now very similar to the data backends.
We want to limit the number of backend interfaces.
Proposal
AsyncLRSDataBackend
andLRSDataBackend