Skip to content

Commit

Permalink
Python: = None
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Mar 4, 2024
1 parent ec1292a commit 1e13e71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/python/iota_sdk/client/_node_core_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def get_output_mana_rewards(

# Validators routes.

def get_validators(self, page_size: Optional[int], cursor: Optional[str]) -> ValidatorsResponse:
def get_validators(self, page_size: Optional[int] = None, cursor: Optional[str] = None) -> ValidatorsResponse:
"""Returns information of all stakers (registered validators) and if they are active, ordered by their holding stake.
GET /api/core/v3/validators
"""
Expand All @@ -131,7 +131,7 @@ def get_validator(self, account_id: HexStr) -> ValidatorResponse:

# Committee routes.

def get_committee(self, epoch_index: Optional[EpochIndex]) -> CommitteeResponse:
def get_committee(self, epoch_index: Optional[EpochIndex] = None) -> CommitteeResponse:
"""Returns the information of committee members at the given epoch index. If epoch index is not provided, the
current committee members are returned.
GET /api/core/v3/committee/?epochIndex
Expand Down

0 comments on commit 1e13e71

Please sign in to comment.