Skip to content

Commit

Permalink
Run black
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasyu888 committed Jan 20, 2022
1 parent b295fce commit adf0a94
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions synapsemonitor/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ def _render_fileview(
return viewdf


def _find_modified_entities_fileview(
syn: Synapse, syn_id: str, days: int = 1
) -> list:
def _find_modified_entities_fileview(syn: Synapse, syn_id: str, days: int = 1) -> list:
"""Finds entities scoped in a fileview modified in the past N number of days
Args:
Expand All @@ -87,12 +85,10 @@ def _find_modified_entities_fileview(
)
results = syn.tableQuery(query)
resultsdf = results.asDataFrame()
return resultsdf['id'].tolist()
return resultsdf["id"].tolist()


def _find_modified_entities_file(
syn: Synapse, syn_id: str, days: int = 1
) -> list:
def _find_modified_entities_file(syn: Synapse, syn_id: str, days: int = 1) -> list:
"""Determines if entity was modified in the past N number of days
Args:
Expand All @@ -106,9 +102,7 @@ def _find_modified_entities_file(
raise NotImplementedError("Files not supported yet")


def _find_modified_entities_container(
syn: Synapse, syn_id: str, days: int = 1
) -> list:
def _find_modified_entities_container(syn: Synapse, syn_id: str, days: int = 1) -> list:
"""Finds entities in a folder or project modified in the past N number of days
Args:
Expand Down

0 comments on commit adf0a94

Please sign in to comment.