Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 18, 2023
1 parent 78c2d2b commit bc04619
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ def get_quickstart_batch(datasource_type: QuickstartDatasourceTabs) -> Batch:
connection_string = "postgresql://postgres:postgres@localhost:5432/postgres"
# <snippet name="tutorials/quickstart/quickstart.py connect_to_data sql_query">
batch = context.sources.pandas_default.read_sql(
"SELECT * FROM yellow_tripdata_sample_2019_01",
connection_string
"SELECT * FROM yellow_tripdata_sample_2019_01", connection_string
)
# </snippet>
return batch
Expand All @@ -62,7 +61,6 @@ def get_quickstart_batch(datasource_type: QuickstartDatasourceTabs) -> Batch:
return batch



for tab_name in QuickstartDatasourceTabs:
batch = get_quickstart_batch(datasource_type=tab_name)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""
This example shows how to configure an assets for a variety of scenarios in Great Expectations.
"""
import datetime

# <snippet name="tutorials/quickstart/quickstart.py import_gx">
import great_expectations as gx
Expand Down

0 comments on commit bc04619

Please sign in to comment.