Skip to content

Commit 68b3c7b

Browse files
authored
FIX: Add Glides project_name to hyperjobs to write them to the correct project (#491)
put glides tableau exports in the right tableau project
1 parent 50097c5 commit 68b3c7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lamp_py/tableau/jobs/glides.py

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
)
1919
from lamp_py.aws.s3 import file_list_from_s3, file_list_from_s3_with_details, object_exists
2020

21+
GLIDES_TABLEAU_PROJECT = "Glides"
22+
2123
glides_trips_updated_schema = pyarrow.schema(
2224
[
2325
("data.metadata.location.gtfsId", pyarrow.large_string()),
@@ -177,6 +179,7 @@ def __init__(self) -> None:
177179
hyper_file_name=tableau_glides_all_trips_updated.prefix.rsplit("/")[-1].replace(".parquet", ".hyper"),
178180
remote_parquet_path=tableau_glides_all_trips_updated.s3_uri,
179181
lamp_version=tableau_glides_all_trips_updated.version,
182+
project_name=GLIDES_TABLEAU_PROJECT,
180183
)
181184

182185
@property
@@ -211,6 +214,7 @@ def __init__(self) -> None:
211214
hyper_file_name=tableau_glides_all_operator_signed_in.prefix.rsplit("/")[-1].replace(".parquet", ".hyper"),
212215
remote_parquet_path=tableau_glides_all_operator_signed_in.s3_uri,
213216
lamp_version=tableau_glides_all_operator_signed_in.version,
217+
project_name=GLIDES_TABLEAU_PROJECT,
214218
)
215219

216220
@property

0 commit comments

Comments
 (0)