diff --git a/docs/content/tutorial/building-an-asset-graph.mdx b/docs/content/tutorial/building-an-asset-graph.mdx index 5311ad76fbb7b..803ad49167ac9 100644 --- a/docs/content/tutorial/building-an-asset-graph.mdx +++ b/docs/content/tutorial/building-an-asset-graph.mdx @@ -209,7 +209,7 @@ Reload the definitions and re-materialize your assets. The metadata can then be The DataFrame was embedded into the asset's metadata with Markdown. Any valid Markdown snippet can be stored and rendered in the Dagster UI, including images. By embedding a bar chart of the most frequently used words as metadata, you and your team can visualize and analyze the `most_frequent_words` asset without leaving the Dagster UI. -Below is code that changes shows how to add an an image of a bar chart in asset metadata. Replace your `most_frequent_words` asset with the following: +Below is code that changes shows how to add an image of a bar chart in asset metadata. Replace your `most_frequent_words` asset with the following: ```python file=/tutorial/building_an_asset_graph/assets_with_metadata.py startafter=start_most_frequent_words_asset_with_metadata endbefore=end_most_frequent_words_asset_with_metadata @asset(deps=[topstories]) diff --git a/python_modules/dagster/dagster/_config/validate.py b/python_modules/dagster/dagster/_config/validate.py index 0106a1ea804ef..6d141a0de2ae4 100644 --- a/python_modules/dagster/dagster/_config/validate.py +++ b/python_modules/dagster/dagster/_config/validate.py @@ -178,7 +178,7 @@ def validate_selector_config( if config_value == {}: return _validate_empty_selector_config(context) - # Now we ensure that the used-provided config has only a a single entry + # Now we ensure that the used-provided config has only a single entry # and then continue the validation pass if not isinstance(config_value, dict): diff --git a/python_modules/dagster/dagster/_serdes/serdes.py b/python_modules/dagster/dagster/_serdes/serdes.py index fe5beb4943d50..2a3322dcaaa91 100644 --- a/python_modules/dagster/dagster/_serdes/serdes.py +++ b/python_modules/dagster/dagster/_serdes/serdes.py @@ -295,7 +295,7 @@ def whitelist_for_serdes( deserialization will be handled by the `Foo` serializer. old_storage_names (Optional[AbstractSet[str]]): A set of strings that act as aliases for the target class when deserializing. For example, - if `OldFoo` is is passed as an old storage name for `Foo`, then dicts encountered with + if `OldFoo` is passed as an old storage name for `Foo`, then dicts encountered with `"__class__": "OldFoo"` during deserialization will be handled by the `Foo` serializer. storage_field_names (Optional[Mapping[str, str]]): A mapping of field names to the names used during serializing and deserializing. For diff --git a/python_modules/dagster/dagster_tests/general_tests/compat_tests/test_back_compat.py b/python_modules/dagster/dagster_tests/general_tests/compat_tests/test_back_compat.py index b531058c06c15..f8d403e1192cd 100644 --- a/python_modules/dagster/dagster_tests/general_tests/compat_tests/test_back_compat.py +++ b/python_modules/dagster/dagster_tests/general_tests/compat_tests/test_back_compat.py @@ -75,21 +75,21 @@ def _migration_regex(warning, current_revision, expected_revision=None): def _run_storage_migration_regex(current_revision, expected_revision=None): warning = re.escape( - "Raised an exception that may indicate that the Dagster database needs to be be migrated." + "Raised an exception that may indicate that the Dagster database needs to be migrated." ) return _migration_regex(warning, current_revision, expected_revision) def _schedule_storage_migration_regex(current_revision, expected_revision=None): warning = re.escape( - "Raised an exception that may indicate that the Dagster database needs to be be migrated." + "Raised an exception that may indicate that the Dagster database needs to be migrated." ) return _migration_regex(warning, current_revision, expected_revision) def _event_log_migration_regex(_run_id, current_revision, expected_revision=None): warning = re.escape( - "Raised an exception that may indicate that the Dagster database needs to be be migrated." + "Raised an exception that may indicate that the Dagster database needs to be migrated." ) return _migration_regex(warning, current_revision, expected_revision) diff --git a/python_modules/libraries/dagster-postgres/dagster_postgres_tests/compat_tests/test_back_compat.py b/python_modules/libraries/dagster-postgres/dagster_postgres_tests/compat_tests/test_back_compat.py index 656e4dece0ab7..402bae03de95b 100644 --- a/python_modules/libraries/dagster-postgres/dagster_postgres_tests/compat_tests/test_back_compat.py +++ b/python_modules/libraries/dagster-postgres/dagster_postgres_tests/compat_tests/test_back_compat.py @@ -414,7 +414,7 @@ def _reconstruct_from_file(hostname, conn_string, path, username="test", passwor def _migration_regex(current_revision, expected_revision=None): warning = re.escape( - "Raised an exception that may indicate that the Dagster database needs to be be migrated." + "Raised an exception that may indicate that the Dagster database needs to be migrated." ) if expected_revision: diff --git a/scripts/check_schemas.py b/scripts/check_schemas.py index 867fd9c10bb2b..abe2db2d43b61 100644 --- a/scripts/check_schemas.py +++ b/scripts/check_schemas.py @@ -24,7 +24,7 @@ def check_schema_compat(schema): def validate_column(column: Column): - """This function is used to validate individual DB columns in a a schema for cross-DBAPI compatibility. + """This function is used to validate individual DB columns in a schema for cross-DBAPI compatibility. i.e.: 1. plain db.String not allowed (MySQL compatability)