Skip to content

Commit 786b4f4

Browse files
Mirroring commit 2abd60aa5595e9620acdc66f9652a7984796b4cf from internal
1 parent 2ed33d3 commit 786b4f4

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

dagster_open_platform/defs/pypi/assets.py

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -118,18 +118,11 @@ def dagster_pypi_downloads(
118118
)
119119

120120

121-
oss_telemetry_events_raw = dg.SourceAsset(
122-
key=["purina", "prod_telemetry", "oss_telemetry_events_raw"],
123-
description="OSS Telemetry events ingested from S3. The actual asset for this is currently in Purina until we can refactor the logic for it.",
124-
group_name="telemetry",
125-
)
126-
127-
128121
@definitions
129122
def defs():
130-
return dg.Definitions(
131-
assets=[
132-
dagster_pypi_downloads,
133-
oss_telemetry_events_raw,
134-
]
123+
oss_telemetry_events_raw = dg.AssetSpec(
124+
key=["purina", "prod_telemetry", "oss_telemetry_events_raw"],
125+
description="OSS Telemetry events ingested from S3. The actual asset for this is currently in Purina until we can refactor the logic for it.",
126+
group_name="telemetry",
135127
)
128+
return dg.Definitions(assets=[oss_telemetry_events_raw, dagster_pypi_downloads])

dagster_open_platform_tests/__snapshots__/test_defs.ambr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84848,6 +84848,7 @@
8484884848
'pipelines_builds',
8484984849
'product_operations/insights/reporting_asset_materialization_metrics',
8485084850
'purina/oss_analytics/dagster_pypi_downloads',
84851+
'purina/prod_telemetry/oss_telemetry_events_raw',
8485184852
'pylon/pylon/pylon_issues',
8485284853
'sandbox//abm_activity_scoring',
8485384854
'sandbox//abm_company_activity',
@@ -85457,6 +85458,7 @@
8545785458
'pipelines_builds',
8545885459
'product_operations/insights/reporting_asset_materialization_metrics',
8545985460
'purina/oss_analytics/dagster_pypi_downloads',
85461+
'purina/prod_telemetry/oss_telemetry_events_raw',
8546085462
'pylon/pylon/pylon_issues',
8546185463
'sandbox//abm_activity_scoring',
8546285464
'sandbox//abm_company_activity',
@@ -86190,6 +86192,7 @@
8619086192
'pipelines_builds',
8619186193
'product_operations/insights/reporting_asset_materialization_metrics',
8619286194
'purina/oss_analytics/dagster_pypi_downloads',
86195+
'purina/prod_telemetry/oss_telemetry_events_raw',
8619386196
'pylon/pylon/pylon_issues',
8619486197
'sandbox//abm_activity_scoring',
8619586198
'sandbox//abm_company_activity',

0 commit comments

Comments
 (0)