Skip to content

Commit

Permalink
Fix RedshiftDataSourceCreator.tables being global
Browse files Browse the repository at this point in the history
Signed-off-by: Tsotne Tabidze <tsotne@tecton.ai>
  • Loading branch information
Tsotne Tabidze committed Dec 17, 2021
1 parent 45c73ef commit 8d3d5d4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logging
from typing import Dict, Optional
from typing import Dict, List, Optional

import pandas as pd

Expand All @@ -17,13 +17,14 @@

class RedshiftDataSourceCreator(DataSourceCreator):

tables = []
tables: List[str]

def __init__(self, project_name: str):
super().__init__()
self.project_name = project_name
self.client = aws_utils.get_redshift_data_client("us-west-2")
self.s3 = aws_utils.get_s3_resource("us-west-2")
self.tables = []

self.offline_store_config = RedshiftOfflineStoreConfig(
cluster_id="feast-integration-tests",
Expand Down

0 comments on commit 8d3d5d4

Please sign in to comment.