diff --git a/bindings/python/iota_sdk/client/_node_core_api.py b/bindings/python/iota_sdk/client/_node_core_api.py index 1f2e076f9f..795dee0a43 100644 --- a/bindings/python/iota_sdk/client/_node_core_api.py +++ b/bindings/python/iota_sdk/client/_node_core_api.py @@ -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 """ @@ -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