Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
dlpzx committed Nov 22, 2024
1 parent 021cd89 commit 6c01162
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ def _get_dataset_uri(session, table_uri):
table = DatasetTableRepository.get_dataset_table_by_uri(session, table_uri)
return table.datasetUri

@staticmethod
def get_table(uri: str):
with get_context().db_engine.scoped_session() as session:
return DatasetTableRepository.get_dataset_table_by_uri(session, uri)

@staticmethod
@TenantPolicyService.has_tenant_permission(MANAGE_DATASETS)
@ResourcePolicyService.has_resource_permission(UPDATE_DATASET_TABLE, parent_resource=_get_dataset_uri)
Expand Down

0 comments on commit 6c01162

Please sign in to comment.