Skip to content

Commit

Permalink
fix: mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
jaidisido committed Nov 4, 2024
1 parent c8424cf commit 311afc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion awswrangler/data_quality/_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def update_ruleset(
df_existing = get_ruleset(name=name, boto3_session=boto3_session)
df_existing = df_existing.set_index(keys=["rule_type", "parameter"], drop=False, verify_integrity=True)
df_updated = _rules_to_df(dqdl_rules) if dqdl_rules is not None else df_rules
df_updated = df_updated.set_index(keys=["rule_type", "parameter"], drop=False, verify_integrity=True)
df_updated = df_updated.set_index(keys=["rule_type", "parameter"], drop=False, verify_integrity=True) # type: ignore[union-attr]
merged_df = pd.concat([df_existing[~df_existing.index.isin(df_updated.index)], df_updated])
dqdl_rules = _create_dqdl(merged_df.reset_index(drop=True))
else:
Expand Down
2 changes: 1 addition & 1 deletion test_infra/stacks/base_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __init__(self, scope: Construct, construct_id: str, **kwargs: str) -> None:

# Add outputs for the EIPs generated by the VPC construct
for public_subnet in self.vpc.public_subnets:
elastic_ip: ec2.CfnEIP = public_subnet.node.find_child("EIP") # type:ignore
elastic_ip: ec2.CfnEIP = public_subnet.node.find_child("EIP") # type: ignore
ssm.StringParameter(
self,
f"{public_subnet.node.id} EIP SSM",
Expand Down

0 comments on commit 311afc8

Please sign in to comment.