Skip to content

Support named args in method calls #8

@whelks-chance

Description

@whelks-chance

res = self.contract.get_transaction_statuses(txn_hash, opts={'fields': 'transaction_hash,state'})
at the moment this throws
TypeError: _auth_required_fn_wrapper() got an unexpected keyword argument 'opts'

from the auth decorator.

res = self.contract.get_transaction_statuses(txn_hash, {'fields': 'transaction_hash,state'})

works fine.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions