Skip to content

Fix json_ready_sym to serialize actual attribute values#91

Open
code-uri wants to merge 1 commit intoStakeEngine:mainfrom
code-uri:fix-json-ready-sym-serialization
Open

Fix json_ready_sym to serialize actual attribute values#91
code-uri wants to merge 1 commit intoStakeEngine:mainfrom
code-uri:fix-json-ready-sym-serialization

Conversation

@code-uri
Copy link
Contributor

- Changed line 14 to use getattr(symbol, attr) instead of hardcoding True
- Fixes data loss for numerical attributes like multiplier
- Closes StakeEngine#90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix json_ready_sym to serialize actual attribute values instead of boolean True

1 participant