code: def proposals(ctx, account):
      
      proposals = Proposals(account)
      t = [
          [
              "id",
              "expiration",
              "proposer",
              "required approvals",
              "available approvals",
              "review period time",
              "proposal",
          ]
      ]
      for proposal in proposals:
          t.append(
              [
                  proposal["id"],
                  proposal["expiration_time"],
                  Account(proposal.proposer)["name"],
                  [
                      Account(x)["name"]
                      for x in (
                          proposal["required_active_approvals"]
                          + proposal["required_owner_approvals"]
                      )
                  ],
                  json.dumps(
                      [Account(x)["name"] for x in proposal["available_active_approvals"]]
                      + proposal["available_key_approvals"]
                      + proposal["available_owner_approvals"],
                      indent=1,
                  ),
                  proposal.get("review_period_time", None),
                  format_dict(proposal["proposed_transaction"]),
              ]
          )
  
      print_table(t)
docs: List proposals