Skip to content

Make SDK more Pythonic #6

@gonzalezzfelipe

Description

@gonzalezzfelipe

As it stands, the sdk is not really Pythonic, it follows more the Typescript way of doing things. For example

from offchain import Client

protocol = Client(options={"endpoint": "http://localhost:8888"})

should be

from offchain import Client

protocol = Client(endpoint="http://localhost:8888")

Bundling the parameters in a type is more of a typescript thing and not really pythonic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions