Skip to content

Commit 3050a17

Browse files
authored
[docs] chore: remove repetitive words (#21514)
## Summary & Motivation remove repetitive words ## How I Tested These Changes
1 parent 6e75bbc commit 3050a17

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

docs/content/tutorial/building-an-asset-graph.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ Reload the definitions and re-materialize your assets. The metadata can then be
209209

210210
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.
211211

212-
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:
212+
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:
213213

214214
```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
215215
@asset(deps=[topstories])

python_modules/dagster/dagster/_config/validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def validate_selector_config(
178178
if config_value == {}:
179179
return _validate_empty_selector_config(context)
180180

181-
# Now we ensure that the used-provided config has only a a single entry
181+
# Now we ensure that the used-provided config has only a single entry
182182
# and then continue the validation pass
183183

184184
if not isinstance(config_value, dict):

python_modules/dagster/dagster/_serdes/serdes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def whitelist_for_serdes(
295295
deserialization will be handled by the `Foo` serializer.
296296
old_storage_names (Optional[AbstractSet[str]]):
297297
A set of strings that act as aliases for the target class when deserializing. For example,
298-
if `OldFoo` is is passed as an old storage name for `Foo`, then dicts encountered with
298+
if `OldFoo` is passed as an old storage name for `Foo`, then dicts encountered with
299299
`"__class__": "OldFoo"` during deserialization will be handled by the `Foo` serializer.
300300
storage_field_names (Optional[Mapping[str, str]]):
301301
A mapping of field names to the names used during serializing and deserializing. For

python_modules/dagster/dagster_tests/general_tests/compat_tests/test_back_compat.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,21 @@ def _migration_regex(warning, current_revision, expected_revision=None):
7575

7676
def _run_storage_migration_regex(current_revision, expected_revision=None):
7777
warning = re.escape(
78-
"Raised an exception that may indicate that the Dagster database needs to be be migrated."
78+
"Raised an exception that may indicate that the Dagster database needs to be migrated."
7979
)
8080
return _migration_regex(warning, current_revision, expected_revision)
8181

8282

8383
def _schedule_storage_migration_regex(current_revision, expected_revision=None):
8484
warning = re.escape(
85-
"Raised an exception that may indicate that the Dagster database needs to be be migrated."
85+
"Raised an exception that may indicate that the Dagster database needs to be migrated."
8686
)
8787
return _migration_regex(warning, current_revision, expected_revision)
8888

8989

9090
def _event_log_migration_regex(_run_id, current_revision, expected_revision=None):
9191
warning = re.escape(
92-
"Raised an exception that may indicate that the Dagster database needs to be be migrated."
92+
"Raised an exception that may indicate that the Dagster database needs to be migrated."
9393
)
9494
return _migration_regex(warning, current_revision, expected_revision)
9595

python_modules/libraries/dagster-postgres/dagster_postgres_tests/compat_tests/test_back_compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ def _reconstruct_from_file(hostname, conn_string, path, username="test", passwor
414414

415415
def _migration_regex(current_revision, expected_revision=None):
416416
warning = re.escape(
417-
"Raised an exception that may indicate that the Dagster database needs to be be migrated."
417+
"Raised an exception that may indicate that the Dagster database needs to be migrated."
418418
)
419419

420420
if expected_revision:

scripts/check_schemas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def check_schema_compat(schema):
2424

2525

2626
def validate_column(column: Column):
27-
"""This function is used to validate individual DB columns in a a schema for cross-DBAPI compatibility.
27+
"""This function is used to validate individual DB columns in a schema for cross-DBAPI compatibility.
2828
2929
i.e.:
3030
1. plain db.String not allowed (MySQL compatability)

0 commit comments

Comments
 (0)