-
-
Save acdha/830040 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from cts.srb import ServiceRequest, ServiceRequestList | |
from cts.client import get_http_client | |
http = get_http_client(endpoint=settings.CTS) | |
http.add_credentials(settings.CTS_USER, settings.CTS_PASSWORD) | |
task = ServiceRequest.accept_next_from_queue(queue="sampler", | |
serviceType="bag.QualityReviewBag.review", | |
http=http) | |
print task |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment