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

implement simple torchserve API integration for testing. #126

Merged
merged 1 commit into from
Oct 15, 2023

Conversation

anarkiwi
Copy link
Member

No description provided.

@anarkiwi anarkiwi force-pushed the msg branch 2 times, most recently from 715cca2 to d8fc90b Compare October 14, 2023 01:42
@anarkiwi anarkiwi changed the title develop torchserve API - do not merge implement simple torchserve API integration for testing. Oct 14, 2023
@github-actions
Copy link

Validation Issues Found (Python) 🐍

File: python/iqtlabs/qa_image_inference.py
Line Number: 242
Statement(s):

        @app.route("/predictions/testmodel", methods=["POST"])
        def predictions_test():
            return json.dumps(result), 200 

Rule:
function predictions_test is defined inside a function but never used

@github-actions
Copy link

Validation Issues Found (Python) 🐍

File: python/iqtlabs/qa_image_inference.py
Line Number: 242
Statement(s):

        @app.route(f"/predictions/{model_name}", methods=["POST"])
        def predictions_test(): # nosemgrep
            return json.dumps(result), 200 

Rule:
function predictions_test is defined inside a function but never used

@github-actions
Copy link

Validation Issues Found (Python) 🐍

File: python/iqtlabs/qa_image_inference.py
Line Number: 242
Statement(s):

        @app.route(f"/predictions/{model_name}", methods=["POST"])
        # nosemgrep:github.workflows.config.useless-inner-function
        def predictions_test():
            return json.dumps(result), 200 

Rule:
function predictions_test is defined inside a function but never used

@anarkiwi anarkiwi force-pushed the msg branch 2 times, most recently from 17cbec8 to 60a69a0 Compare October 14, 2023 02:09
@anarkiwi anarkiwi merged commit e31f81e into IQTLabs:main Oct 15, 2023
10 checks passed
@anarkiwi anarkiwi deleted the msg branch October 15, 2023 03:10
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