Skip to content
This repository has been archived by the owner on Mar 23, 2019. It is now read-only.

Account members #3

Open
knappador opened this issue May 9, 2018 · 0 comments
Open

Account members #3

knappador opened this issue May 9, 2018 · 0 comments

Comments

@knappador
Copy link
Owner

Account protects its internals by blocking flippant calls to __setattr__ and also adding access to virtual attributes amount and asset which together can comprise an AssetAmount.

Results in:

E:632,15: Instance of 'Account' has no 'amount' member (no-member)
E:637,42: Instance of 'Account' has no 'asset' member (no-member)
E:640,32: Instance of 'Account' has no 'amount' member (no-member)

Provide lint with this information for now.

AssetAmountcan upgrade Decimal arguments. It may make sense to provide for more fluid upgrade & downgrade of AssetAmount to simply the type graph.

@knappador knappador added this to the Client-Affecting Lint Issues milestone May 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant