Skip to content

Commit

Permalink
linter formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
brifordwylie committed Mar 5, 2024
1 parent 9ee3424 commit 457b1c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sageworks/core/artifacts/athena_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,9 @@ def modified(self) -> datetime:

def num_rows(self) -> int:
"""Return the number of rows for this Data Source"""
count_df = self.query(f'select count(*) AS sageworks_count from "{self.get_database()}"."{self.get_table_name()}"')
count_df = self.query(
f'select count(*) AS sageworks_count from "{self.get_database()}"."{self.get_table_name()}"'
)
return count_df["sageworks_count"][0]

def num_columns(self) -> int:
Expand Down

0 comments on commit 457b1c8

Please sign in to comment.