Skip to content

Commit

Permalink
Fixes arbitrum traces (#2158)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravenac95 authored Sep 16, 2024
1 parent a517523 commit 65f2f9f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions warehouse/oso_dagster/assets/arbitrum.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
from oso_dagster.utils import unpack_config, gcs_to_bucket_name
from ..factories.goldsky.config import GoldskyNetworkConfig, NetworkAssetSourceConfig
from oso_dagster.utils import gcs_to_bucket_name, unpack_config

from ..factories.common import AssetFactoryResponse, early_resources_asset_factory
from ..factories.goldsky.additional import blocks_extensions, transactions_extensions
from ..factories.goldsky.assets import goldsky_asset
from ..factories.common import early_resources_asset_factory, AssetFactoryResponse
from ..factories.goldsky.additional import (
blocks_extensions,
transactions_extensions,
)
from ..factories.goldsky.config import GoldskyNetworkConfig, NetworkAssetSourceConfig


@unpack_config(GoldskyNetworkConfig)
Expand Down Expand Up @@ -97,7 +95,9 @@ def _factory(project_id: str, staging_bucket: str):
source_name=f"{config.network_name}-traces",
partition_column_name="block_timestamp",
partition_column_transform=lambda t: f"TIMESTAMP_SECONDS(`{t}`)",
schema_overrides=[],
schema_overrides=[
{"name": "value", "field_type": "BYTES"},
],
external_reference="",
),
config.traces_config,
Expand Down

0 comments on commit 65f2f9f

Please sign in to comment.