algorand / algorand/py-algorand-sdk

Remove redundant block argument from Indexer client.

オープン
#475 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
new-feature-request Team Lamprey
主要言語
Python
スター
274
フォーク
145
平均マージ
3時間 1分
マージ済み PR(30日)
2

説明

## Problem

The indexer client accepts redundant and error-causing parameters in a few of its methods. In particular:
* in several places the synonomous `block` and `round_num` are accepted. [EG here](https://github.com/algorand/py-algorand-sdk/blob/develop/algosdk/v2client/indexer.py#L189_L193)
* in several places we alert users with `DO NOT USE` a particular param. [EG here](https://github.com/algorand/py-algorand-sdk/blob/develop/algosdk/v2client/indexer.py#L836)

## Solution

Remove the offending parameters. As this is a breaking change, we may want to include it into a **V3** upgrade.
We can start by deprecating usage ASAP.

## Related Issues

#471

## Urgency

Medium - this is mostly a nuisance, but it does cause confusion

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。