forked from inspirehep/inspirehep
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- correctly format observables - add date parameter to dag - fetch collections ids relative to the logical date * ref: cern-sis/issues-inspire/issues/633
- Loading branch information
Showing
5 changed files
with
145 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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
61 changes: 61 additions & 0 deletions
61
workflows/tests/cassettes/TestDataHarvest.test_collect_ids_logical_date.yaml
This file contains 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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
method: GET | ||
uri: https://www.hepdata.net/search/ids?inspire_ids=True&last_updated=2024-12-15&sort_by=latest | ||
response: | ||
body: | ||
string: '[2693068,2807749,2809112] | ||
' | ||
headers: | ||
access-control-allow-origin: | ||
- '*' | ||
alt-svc: | ||
- h3=":443";ma=60; | ||
content-length: | ||
- '26' | ||
content-type: | ||
- application/json | ||
date: | ||
- Fri, 20 Dec 2024 13:31:10 GMT | ||
permissions-policy: | ||
- interest-cohort=() | ||
referrer-policy: | ||
- strict-origin-when-cross-origin | ||
retry-after: | ||
- '60' | ||
server: | ||
- gunicorn | ||
set-cookie: | ||
- session=90cb32b42632028e_6765719e.Nlm50tE_qaIh5AoWIDrxXj38HSg; Domain=.www.hepdata.net; | ||
Expires=Sat, 21 Dec 2024 01:31:10 GMT; HttpOnly; Path=/; SameSite=Lax | ||
transfer-encoding: | ||
- chunked | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
x-frame-options: | ||
- sameorigin | ||
x-proxy-backend: | ||
- hepdata-prod_hepdata-web_http | ||
x-ratelimit-limit: | ||
- '60' | ||
x-ratelimit-remaining: | ||
- '59' | ||
x-ratelimit-reset: | ||
- '1734701531' | ||
x-xss-protection: | ||
- 1; mode=block | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
61 changes: 61 additions & 0 deletions
61
workflows/tests/cassettes/TestDataHarvest.test_collect_ids_param.yaml
This file contains 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 |
---|---|---|
@@ -0,0 +1,61 @@ | ||
interactions: | ||
- request: | ||
body: null | ||
headers: | ||
Accept: | ||
- '*/*' | ||
Accept-Encoding: | ||
- gzip, deflate | ||
Connection: | ||
- keep-alive | ||
method: GET | ||
uri: https://www.hepdata.net/search/ids?inspire_ids=True&last_updated=2024-12-15&sort_by=latest | ||
response: | ||
body: | ||
string: '[2693068,2807749,2809112] | ||
' | ||
headers: | ||
access-control-allow-origin: | ||
- '*' | ||
alt-svc: | ||
- h3=":443";ma=60; | ||
content-length: | ||
- '26' | ||
content-type: | ||
- application/json | ||
date: | ||
- Fri, 20 Dec 2024 13:27:17 GMT | ||
permissions-policy: | ||
- interest-cohort=() | ||
referrer-policy: | ||
- strict-origin-when-cross-origin | ||
retry-after: | ||
- '29' | ||
server: | ||
- gunicorn | ||
set-cookie: | ||
- session=350679c09a0fcb67_676570b5.rCaGWwHUs2OzQ84fS-iSUDafDik; Domain=.www.hepdata.net; | ||
Expires=Sat, 21 Dec 2024 01:27:17 GMT; HttpOnly; Path=/; SameSite=Lax | ||
transfer-encoding: | ||
- chunked | ||
vary: | ||
- Accept-Encoding | ||
x-content-type-options: | ||
- nosniff | ||
x-frame-options: | ||
- sameorigin | ||
x-proxy-backend: | ||
- hepdata-prod_hepdata-web_http | ||
x-ratelimit-limit: | ||
- '60' | ||
x-ratelimit-remaining: | ||
- '58' | ||
x-ratelimit-reset: | ||
- '1734701267' | ||
x-xss-protection: | ||
- 1; mode=block | ||
status: | ||
code: 200 | ||
message: OK | ||
version: 1 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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