Skip to content

Commit

Permalink
fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
chakankardb committed Jan 25, 2024
1 parent 8907d5c commit 92528d4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion python/delta_sharing/delta_sharing.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def load_as_pandas(
return DeltaSharingReader(
table=Table(name=table, share=share, schema=schema),
rest_client=DataSharingRestClient(profile),
jsonPredicateHints = jsonPredicateHints,
jsonPredicateHints=jsonPredicateHints,
limit=limit,
version=version,
timestamp=timestamp
Expand Down
24 changes: 12 additions & 12 deletions python/delta_sharing/tests/test_delta_sharing.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,9 @@ def test_load_as_pandas_success(
pytest.param(
"share8.default.cdf_table_with_partition",
(
'{"op":"equal", "children":['
' {"op":"column","name":"birthday","valueType":"date"},'
' {"op":"literal","value":"2020-02-02","valueType":"date"}]}'
'{"op":"equal", "children":['
' {"op":"column","name":"birthday","valueType":"date"},'
' {"op":"literal","value":"2020-02-02","valueType":"date"}]}'
),
pd.DataFrame(
{
Expand All @@ -536,9 +536,9 @@ def test_load_as_pandas_success(
pytest.param(
"share8.default.cdf_table_with_partition",
(
'{"op":"equal", "children":['
' {"op":"column","name":"birthday","valueType":"date"},'
' {"op":"literal","value":"2020-01-01","valueType":"date"}]}'
'{"op":"equal", "children":['
' {"op":"column","name":"birthday","valueType":"date"},'
' {"op":"literal","value":"2020-01-01","valueType":"date"}]}'
),
pd.DataFrame(
{
Expand All @@ -553,9 +553,9 @@ def test_load_as_pandas_success(
pytest.param(
"share8.default.cdf_table_with_partition",
(
'{"op":"equal", "children":['
' {"op":"column","name":"birthday","valueType":"date"},'
' {"op":"literal","value":"2022-02-02","valueType":"date"}]}'
'{"op":"equal", "children":['
' {"op":"column","name":"birthday","valueType":"date"},'
' {"op":"literal","value":"2022-02-02","valueType":"date"}]}'
),
pd.DataFrame(
{
Expand All @@ -570,9 +570,9 @@ def test_load_as_pandas_success(
pytest.param(
"share8.default.cdf_table_with_partition",
(
'{"op":"greaterThan", "children":['
' {"op":"column","name":"birthday","valueType":"date"},'
' {"op":"literal","value":"2019-01-01","valueType":"date"}]}'
'{"op":"greaterThan", "children":['
' {"op":"column","name":"birthday","valueType":"date"},'
' {"op":"literal","value":"2019-01-01","valueType":"date"}]}'
),
pd.DataFrame(
{
Expand Down

0 comments on commit 92528d4

Please sign in to comment.