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

Initial implementation and tests setup #46

Merged
merged 20 commits into from
Dec 5, 2022
Merged

Initial implementation and tests setup #46

merged 20 commits into from
Dec 5, 2022

Conversation

momegas
Copy link
Member

@momegas momegas commented Nov 27, 2022

The approach in the setup is to mock requests and test the SDK this way.
The reason is that TestClient does some magic and does not run the API exposing the host and port. I found it quite complex to run the API like this so I went with the simple way of mocking the back end.

@momegas momegas requested a review from gcharis November 27, 2022 22:09
@momegas momegas linked an issue Nov 27, 2022 that may be closed by this pull request
src/sdk/whitebox.py Outdated Show resolved Hide resolved
src/sdk/whitebox.py Outdated Show resolved Hide resolved
src/sdk/whitebox.py Show resolved Hide resolved
src/sdk/whitebox.py Show resolved Hide resolved
src/sdk/whitebox.py Show resolved Hide resolved
Copy link
Contributor

@sinnec sinnec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guess it's OK. I really need to get in depth with that SDK thing.
P.S.: Nice changing "many" to "batch" in inferences API. Was on my mind for quite some time.

Copy link
Contributor

@gcharis gcharis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@momegas momegas changed the title [WIP] Initial implementation and tests setup Initial implementation and tests setup Dec 5, 2022
@momegas momegas merged commit dae5627 into main Dec 5, 2022
@gcharis gcharis deleted the 14-whitebox-sdk branch December 20, 2022 12:17
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.

Whitebox SDK
3 participants