Skip to content

Commit 96e7045

Browse files
authored
Merge pull request #1276 from cmu-delphi/release/delphi-epidata-4.1.9
Release Delphi Epidata 4.1.9
2 parents 61be514 + 9f63278 commit 96e7045

File tree

9 files changed

+13
-11
lines changed

9 files changed

+13
-11
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 4.1.8
2+
current_version = 4.1.9
33
commit = False
44
tag = False
55

dev/local/setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = Delphi Development
3-
version = 4.1.8
3+
version = 4.1.9
44

55
[options]
66
packages =

src/client/delphi_epidata.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Epidata <- (function() {
1515
# API base url
1616
BASE_URL <- getOption('epidata.url', default = 'https://api.delphi.cmu.edu/epidata/')
1717

18-
client_version <- '4.1.8'
18+
client_version <- '4.1.9'
1919

2020
auth <- getOption("epidata.auth", default = NA)
2121

src/client/delphi_epidata.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323
})(this, function (exports, fetchImpl, jQuery) {
2424
const BASE_URL = "https://api.delphi.cmu.edu/epidata/";
25-
const client_version = "4.1.8";
25+
const client_version = "4.1.9";
2626

2727
// Helper function to cast values and/or ranges to strings
2828
function _listitem(value) {

src/client/packaging/npm/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "delphi_epidata",
33
"description": "Delphi Epidata API Client",
44
"authors": "Delphi Group",
5-
"version": "4.1.8",
5+
"version": "4.1.9",
66
"license": "MIT",
77
"homepage": "https://github.com/cmu-delphi/delphi-epidata",
88
"bugs": {
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from .delphi_epidata import Epidata
22

33
name = "delphi_epidata"
4-
__version__ = "4.1.8"
4+
__version__ = "4.1.9"

src/client/packaging/pypi/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="delphi_epidata",
8-
version="4.1.8",
8+
version="4.1.9",
99
author="David Farrow",
1010
author_email="[email protected]",
1111
description="A programmatic interface to Delphi's Epidata API.",

src/server/_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
load_dotenv()
99

10-
VERSION = "4.1.8"
10+
VERSION = "4.1.9"
1111

1212
MAX_RESULTS = int(10e6)
1313
MAX_COMPATIBILITY_RESULTS = int(3650)

src/server/endpoints/covidcast.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ def gen(rows):
235235
def handle_export():
236236
source, signal = request.values.get("signal", "jhu-csse:confirmed_incidence_num").split(":")
237237
source_signal_sets = [SourceSignalSet(source, [signal])]
238+
source_signal_sets = restrict_by_roles(source_signal_sets)
238239
daily_signals, weekly_signals = count_signal_time_types(source_signal_sets)
239240
source_signal_sets, alias_mapper = create_source_signal_alias_mapper(source_signal_sets)
240241
start_time_set = parse_day_or_week_arg("start_day", 202001 if weekly_signals > 0 else 20200401)
@@ -317,9 +318,10 @@ def handle_backfill():
317318
example query: http://localhost:5000/covidcast/backfill?signal=fb-survey:smoothed_cli&time=day:20200101-20220101&geo=state:ny&anchor_lag=60
318319
"""
319320
require_all(request, "geo", "time", "signal")
320-
source_signal_set = parse_single_source_signal_arg("signal")
321-
daily_signals, weekly_signals = count_signal_time_types([source_signal_set])
322-
source_signal_sets, _ = create_source_signal_alias_mapper([source_signal_set])
321+
source_signal_sets = [parse_single_source_signal_arg("signal")]
322+
source_signal_sets = restrict_by_roles(source_signal_sets)
323+
daily_signals, weekly_signals = count_signal_time_types(source_signal_sets)
324+
source_signal_sets, _ = create_source_signal_alias_mapper(source_signal_sets)
323325
# don't need the alias mapper since we don't return the source
324326

325327
time_set = parse_single_time_arg("time")

0 commit comments

Comments
 (0)