Skip to content

Commit

Permalink
add production flag; update the snapshot creation
Browse files Browse the repository at this point in the history
  • Loading branch information
xindiguo committed Dec 10, 2024
1 parent 5604fac commit 8d9337f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions scripts/release/update_retraction_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,6 @@ def synapse_login(synapse_config):
syn.login()
return syn

#def update_version(syn, table_id, comment):
# """Update the version of the table with a new snapshot and comment.
#
# Args:
# syn (Synapse): Synapse client object
# table_id (str): Synapse Table ID
# comment (str): Comment to attach to the snapshot
# """
# snapshot_url = f"/entity/{table_id}/table/snapshot"
# syn.restPOST(snapshot_url, body=f'{{"snapshotComment":"{comment}"}}')

def get_file_id_by_name(syn, folder_id, file_name):
"""Retrieve the file ID for a given file name in a specified Synapse folder.
Expand Down

0 comments on commit 8d9337f

Please sign in to comment.