From bab7542f0fe9521be4bba9d362a2b8ad42a7665f Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Thu, 31 Mar 2022 11:29:57 -0700 Subject: [PATCH] Fix Signed-off-by: Kevin Zhang --- sdk/python/feast/infra/offline_stores/file_source.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sdk/python/feast/infra/offline_stores/file_source.py b/sdk/python/feast/infra/offline_stores/file_source.py index 0990798a75..ebeb0e28fd 100644 --- a/sdk/python/feast/infra/offline_stores/file_source.py +++ b/sdk/python/feast/infra/offline_stores/file_source.py @@ -204,10 +204,7 @@ def __init__( ), DeprecationWarning, ) - self._file_url = file_url - self._uri = uri - if not self._uri: - self._uri = self._file_url + self._uri = uri or file_url self._s3_endpoint_override = s3_endpoint_override @property