-
Notifications
You must be signed in to change notification settings - Fork 123
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
QR code workflow step #286
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, this is exactly how that should look like
I am thinking of improving the internal design of compiler/executor - do u have any suggestions?
I feel like all it takes to push it would be making flake happy |
What do you think of these suggestions? Should I put them in this PR? |
Full agreement in terms of testing - in fact I do have some amount of workflows in my notebooks that I run to test e2e, that should be moved into integration tests. What I am usually testing unit-wise is the behaviour of step entity (mainly validation) and basic things related to step execution logic. On the latter - great points - those conceptions are truly not so great in terms of clarity - emerged as we go further in development (for instance to make it compatible with supervision) - I think we should make changes in internal design, although I would not say you should implement those changes now. |
Sounds good! Are you able to make changes to the code and then test out in a notebook? I found that rebuilding the docker container took about 90 seconds each time I made a code change, which is why I did most of my development against the unit tests. |
Well, I am a little bit sneaky with that, as I am using this in my notebook import sys
sys.path.append("<LOCALTION_OF_INFERENCE_REPO>")
.... # the code to execute workflow and all it takes to have a new changes is to restart kernel and run cells |
@PawelPeczek-Roboflow I added docs and fixed the build, approve if it looks good! |
great! |
Description
This is a QR code step. @PawelPeczek-Roboflow would you be willing to give some preliminary feedback on the approach? I want to make sure I'm doing things the right way since it's my first workflow step contribution.
HERE is a Loom as well as a script that runs QR detections.
Once the approach is vetted I'll update docs.
Type of change
Please delete options that are not relevant.
How has this change been tested, please provide a testcase or example of how you tested the change?
Unit tests
Any specific deployment considerations
For example, documentation changes, usability, usage/costs, secrets, etc.
Docs