Skip to content

Commit

Permalink
fix: rm leftovers of debugging prints()
Browse files Browse the repository at this point in the history
  • Loading branch information
EreminAnton committed Feb 6, 2024
1 parent 5edc7e8 commit 12164fa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/slack_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,8 @@ def update_with_accounts_and_permission_sets(
def parse(cls, obj: dict) -> RequestForAccess:
values = jp.search("view.state.values", obj)
hhmm = jp.search(f"{cls.DURATION_BLOCK_ID}.{cls.DURATION_ACTION_ID}.selected_option.value", values)
print(hhmm)
hours, minutes = map(int, hhmm.split(":"))
print("hours", hours)
print("minutes", minutes)
duration = timedelta(hours=hours, minutes=minutes)
print("duration", duration)
print(type(duration))
return RequestForAccess.parse_obj(
{
"permission_duration": duration,
Expand Down

0 comments on commit 12164fa

Please sign in to comment.