Skip to content

Commit

Permalink
Merge pull request #1276 from cmu-delphi/release/delphi-epidata-4.1.9
Browse files Browse the repository at this point in the history
Release Delphi Epidata 4.1.9
  • Loading branch information
melange396 authored Aug 21, 2023
2 parents 61be514 + 9f63278 commit 96e7045
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 4.1.8
current_version = 4.1.9
commit = False
tag = False

Expand Down
2 changes: 1 addition & 1 deletion dev/local/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = Delphi Development
version = 4.1.8
version = 4.1.9

[options]
packages =
Expand Down
2 changes: 1 addition & 1 deletion src/client/delphi_epidata.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Epidata <- (function() {
# API base url
BASE_URL <- getOption('epidata.url', default = 'https://api.delphi.cmu.edu/epidata/')

client_version <- '4.1.8'
client_version <- '4.1.9'

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

Expand Down
2 changes: 1 addition & 1 deletion src/client/delphi_epidata.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}
})(this, function (exports, fetchImpl, jQuery) {
const BASE_URL = "https://api.delphi.cmu.edu/epidata/";
const client_version = "4.1.8";
const client_version = "4.1.9";

// Helper function to cast values and/or ranges to strings
function _listitem(value) {
Expand Down
2 changes: 1 addition & 1 deletion src/client/packaging/npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "delphi_epidata",
"description": "Delphi Epidata API Client",
"authors": "Delphi Group",
"version": "4.1.8",
"version": "4.1.9",
"license": "MIT",
"homepage": "https://github.com/cmu-delphi/delphi-epidata",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion src/client/packaging/pypi/delphi_epidata/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from .delphi_epidata import Epidata

name = "delphi_epidata"
__version__ = "4.1.8"
__version__ = "4.1.9"
2 changes: 1 addition & 1 deletion src/client/packaging/pypi/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="delphi_epidata",
version="4.1.8",
version="4.1.9",
author="David Farrow",
author_email="[email protected]",
description="A programmatic interface to Delphi's Epidata API.",
Expand Down
2 changes: 1 addition & 1 deletion src/server/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

load_dotenv()

VERSION = "4.1.8"
VERSION = "4.1.9"

MAX_RESULTS = int(10e6)
MAX_COMPATIBILITY_RESULTS = int(3650)
Expand Down
8 changes: 5 additions & 3 deletions src/server/endpoints/covidcast.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ def gen(rows):
def handle_export():
source, signal = request.values.get("signal", "jhu-csse:confirmed_incidence_num").split(":")
source_signal_sets = [SourceSignalSet(source, [signal])]
source_signal_sets = restrict_by_roles(source_signal_sets)
daily_signals, weekly_signals = count_signal_time_types(source_signal_sets)
source_signal_sets, alias_mapper = create_source_signal_alias_mapper(source_signal_sets)
start_time_set = parse_day_or_week_arg("start_day", 202001 if weekly_signals > 0 else 20200401)
Expand Down Expand Up @@ -317,9 +318,10 @@ def handle_backfill():
example query: http://localhost:5000/covidcast/backfill?signal=fb-survey:smoothed_cli&time=day:20200101-20220101&geo=state:ny&anchor_lag=60
"""
require_all(request, "geo", "time", "signal")
source_signal_set = parse_single_source_signal_arg("signal")
daily_signals, weekly_signals = count_signal_time_types([source_signal_set])
source_signal_sets, _ = create_source_signal_alias_mapper([source_signal_set])
source_signal_sets = [parse_single_source_signal_arg("signal")]
source_signal_sets = restrict_by_roles(source_signal_sets)
daily_signals, weekly_signals = count_signal_time_types(source_signal_sets)
source_signal_sets, _ = create_source_signal_alias_mapper(source_signal_sets)
# don't need the alias mapper since we don't return the source

time_set = parse_single_time_arg("time")
Expand Down

0 comments on commit 96e7045

Please sign in to comment.