icon_sdk_for_python icon indicating copy to clipboard operation
icon_sdk_for_python copied to clipboard

Can we change import rule?

Open JinhoYoo-icon-project opened this issue 8 years ago • 2 comments

Currently we import iconsdk like following.

from icx.wallet.wallet import Wallet

Then it seems redundant that use wallet.wallet. I recommend from icx.wallet import Wallet.

JinhoYoo-icon-project avatar Apr 27 '18 03:04 JinhoYoo-icon-project

Thanks for giving the opinion. Import rule is changed that it is from 'from icx.wallet.wallet import Wallet' to 'from icx.wallet import Wallet'

boyeonchoi avatar Jun 12 '18 08:06 boyeonchoi

Closed in https://github.com/icon-project/icon_sdk_for_python/pull/5

JinhoYoo-icon-project avatar Jun 12 '18 09:06 JinhoYoo-icon-project