Spaces:
Runtime error
Runtime error
Update app.py
Browse files21 unmodified lines2223242526272829262730313233106 unmodified lines14014114214314414014114514614714814921 unmodified linesimport json
# dictionary that collects tags that can be added to commit messages.# key -> column name in notion # value -> possible valuestag_dict = {"status_tag":["WIP", "ReviewNeeded", "Final"]}
# tag part seperator -> #+ , other_tags
def extract_branch_info(stream_id, server_url=None, token=None): if server_url and token:106 unmodified lines if existing_depends_on: for dep_name in existing_depends_on: if dep_name in latest_updates and latest_updates[dep_name] > latest_update: if "isConnected" not in branch[dep_name]["commit_message"]: # exclude commits where isConnected was used outdated = True break outdated = True break if not latest_update: status_tag = "empty" elif outdated:app.py+9-4