diff --git a/docs/content/integrations/bigquery/reference.mdx b/docs/content/integrations/bigquery/reference.mdx index 5ef8d662ba968..aacaf173024d0 100644 --- a/docs/content/integrations/bigquery/reference.mdx +++ b/docs/content/integrations/bigquery/reference.mdx @@ -231,7 +231,7 @@ from dagster import ( }, ) def iris_data_partitioned(context: AssetExecutionContext) -> pd.DataFrame: - partition = partition = context.partition_key.keys_by_dimension + partition = context.partition_key.keys_by_dimension species = partition["species"] date = partition["date"] diff --git a/docs/content/integrations/duckdb/reference.mdx b/docs/content/integrations/duckdb/reference.mdx index 68c58be8ce67d..683be159106ad 100644 --- a/docs/content/integrations/duckdb/reference.mdx +++ b/docs/content/integrations/duckdb/reference.mdx @@ -232,7 +232,7 @@ from dagster import ( metadata={"partition_expr": {"date": "TO_TIMESTAMP(TIME)", "species": "SPECIES"}}, ) def iris_dataset_partitioned(context: AssetExecutionContext) -> pd.DataFrame: - partition = partition = context.partition_key.keys_by_dimension + partition = context.partition_key.keys_by_dimension species = partition["species"] date = partition["date"] diff --git a/examples/docs_snippets/docs_snippets/integrations/bigquery/reference/multi_partition.py b/examples/docs_snippets/docs_snippets/integrations/bigquery/reference/multi_partition.py index ee071d73744f1..b2c185e081381 100644 --- a/examples/docs_snippets/docs_snippets/integrations/bigquery/reference/multi_partition.py +++ b/examples/docs_snippets/docs_snippets/integrations/bigquery/reference/multi_partition.py @@ -29,7 +29,7 @@ def get_iris_data_for_date(*args, **kwargs): }, ) def iris_data_partitioned(context: AssetExecutionContext) -> pd.DataFrame: - partition = partition = context.partition_key.keys_by_dimension # type: ignore + partition = context.partition_key.keys_by_dimension # type: ignore species = partition["species"] date = partition["date"] diff --git a/examples/docs_snippets/docs_snippets/integrations/duckdb/reference/multi_partition.py b/examples/docs_snippets/docs_snippets/integrations/duckdb/reference/multi_partition.py index 9f5cd2151d4d9..f87abc1e17bf8 100644 --- a/examples/docs_snippets/docs_snippets/integrations/duckdb/reference/multi_partition.py +++ b/examples/docs_snippets/docs_snippets/integrations/duckdb/reference/multi_partition.py @@ -27,7 +27,7 @@ def get_iris_data_for_date(*args, **kwargs): metadata={"partition_expr": {"date": "TO_TIMESTAMP(TIME)", "species": "SPECIES"}}, ) def iris_dataset_partitioned(context: AssetExecutionContext) -> pd.DataFrame: - partition = partition = context.partition_key.keys_by_dimension # type: ignore + partition = context.partition_key.keys_by_dimension # type: ignore species = partition["species"] date = partition["date"]