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

refactor(dataflow): Refactor conversion to binary contents #4786

Merged
merged 13 commits into from
May 1, 2023

Conversation

agrski
Copy link
Contributor

@agrski agrski commented Apr 5, 2023

What this PR does / why we need it:
Following on from #4781, this PR refactors that code to be more idiomatic and easier to read.

Changes include:

  • Using extension functions.
  • De-duplicating per-data type methods to convert contents to binary contents.
  • Introducing a constant for the required byte order.

Which issue(s) this PR fixes:
N/A

Special notes for your reviewer:
I've tested with the pipeline-examples notebook and find the same results for seldon pipeline inspect commands as in #4781.

@agrski agrski force-pushed the refactor-binary-contents-handling branch from e62b1fe to c1018e3 Compare April 6, 2023 09:09
@ukclivecox ukclivecox added the v2 label Apr 18, 2023
@agrski agrski force-pushed the refactor-binary-contents-handling branch from c1018e3 to 5cc1e80 Compare April 21, 2023 23:22
@agrski agrski requested a review from ukclivecox May 1, 2023 14:08
@agrski agrski marked this pull request as ready for review May 1, 2023 14:08
@agrski agrski merged commit d92faed into SeldonIO:v2 May 1, 2023
2 checks passed
@agrski agrski deleted the refactor-binary-contents-handling branch May 1, 2023 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants