Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kill pydantic from kraken #370

Merged
merged 4 commits into from
Jul 31, 2022
Merged

Conversation

goodboy
Copy link
Contributor

@goodboy goodboy commented Jul 30, 2022

Somehow these bits got missed during #353, no idea how but probably something to to with the #349 patchset still being in progress.

Note this PR should land on master after #369.

This coverts the remaining bits to use msgspec equivalents inside the kraken backend:

  • add a Struct.typecast() method to get pydantic-runtime-casting style conversion of field values
  • converts remaining OHLC stuff in kraken data feed msg parsers to use our internal struct variant

@goodboy goodboy requested review from guilledk and iamzoltan July 30, 2022 21:03
@goodboy goodboy force-pushed the kraken_ws_orders branch from c0617a5 to e6a3e8b Compare July 30, 2022 21:34
@goodboy goodboy force-pushed the kill_pydantic_from_kraken branch from f227fa8 to 44e21b1 Compare July 30, 2022 21:34
@goodboy goodboy merged commit 7f3f7f0 into kraken_ws_orders Jul 31, 2022
@goodboy goodboy deleted the kill_pydantic_from_kraken branch July 31, 2022 19:18
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.

2 participants