From f32721e87e3ae8da3b601515d79792eb76182859 Mon Sep 17 00:00:00 2001 From: Dmitriy Kunitskiy Date: Wed, 9 Jun 2021 16:55:51 -0700 Subject: [PATCH] fix: Add forgotten init file to databuilder/models/feature module (#1211) * add init file to feature module Signed-off-by: Dmitriy Kunitskiy * loosen mypy annotation Signed-off-by: Dmitriy Kunitskiy --- .../databuilder/extractor/bigquery_watermark_extractor.py | 2 +- databuilder/databuilder/models/feature/__init__.py | 0 databuilder/setup.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 databuilder/databuilder/models/feature/__init__.py diff --git a/databuilder/databuilder/extractor/bigquery_watermark_extractor.py b/databuilder/databuilder/extractor/bigquery_watermark_extractor.py index 76d9331763..245c286f18 100644 --- a/databuilder/databuilder/extractor/bigquery_watermark_extractor.py +++ b/databuilder/databuilder/extractor/bigquery_watermark_extractor.py @@ -33,7 +33,7 @@ def get_scope(self) -> str: def _retrieve_tables(self, dataset: DatasetRef ) -> Iterator[Watermark]: - sharded_table_watermarks: Dict[str, Dict[str, Union[str, Dict[str, Any]]]] = {} + sharded_table_watermarks: Dict[str, Dict[str, Union[str, Any]]] = {} cutoff_time_in_epoch = timegm(time.strptime(self.cutoff_time, BigQueryWatermarkExtractor.DATE_TIME_FORMAT)) for page in self._page_table_list_results(dataset): diff --git a/databuilder/databuilder/models/feature/__init__.py b/databuilder/databuilder/models/feature/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/databuilder/setup.py b/databuilder/setup.py index e0d48a90ff..fd5821f156 100644 --- a/databuilder/setup.py +++ b/databuilder/setup.py @@ -4,7 +4,7 @@ from setuptools import find_packages, setup -__version__ = '4.5.0' +__version__ = '4.5.1' requirements_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'requirements.txt') with open(requirements_path) as requirements_file: