From 9d896fb25629759970bd56b635de5ebb916c257b Mon Sep 17 00:00:00 2001 From: Vijeet15 <55951898+Vijeet15@users.noreply.github.com> Date: Wed, 26 May 2021 11:30:50 +0530 Subject: [PATCH] Update __init__.py --- app/data/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/data/__init__.py b/app/data/__init__.py index 518737b3..6bed4ab3 100644 --- a/app/data/__init__.py +++ b/app/data/__init__.py @@ -5,6 +5,7 @@ 'jhu': JhuLocationService(), } + def data_source(source): """ Retrieves the provided data-source service. @@ -12,4 +13,4 @@ def data_source(source): :returns: The service. :rtype: LocationService """ - return data_sources.get(source.lower()) \ No newline at end of file + return data_sources.get(source.lower())