Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Commit

Permalink
YACHT-964: minor change, made function static
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-kolda committed Aug 31, 2018
1 parent e6fd4fa commit e903baf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/slo/x_days_sli/x_days_sli_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ def recalculate_sli(self):
def __exists(self, table):
return self.filter.exists(self.__create_table_reference(table))

def __create_table_reference(self, table):
@staticmethod
def __create_table_reference(table):
return TableReference(project_id=table['projectId'],
dataset_id=table['datasetId'],
table_id=table['tableId'],
Expand Down

0 comments on commit e903baf

Please sign in to comment.