Matches in Nanopublications for { ?s ?p ?o <http://purl.org/np/RA5RAOTiTGnVIBBU4JuLD9NEHJJJbfXhgRiL5bB62ApXQ#assertion>. }
Showing items 1 to 12 of
12
with 100 items per page.
- step type Step assertion.
- step type ScriptTask assertion.
- rotate_image-output1 type Variable assertion.
- rotate_image-output1 type "str" assertion.
- imgstr type Variable assertion.
- imgstr type "str" assertion.
- step label "Rotating an image represented as a string by 180 degrees" assertion.
- imgstr label "imgstr" assertion.
- rotate_image-output1 label "rotate_image-output1" assertion.
- step description "@is_fairstep(label='Rotating an image represented as a string by 180 degrees') def rotate_image(imgstr:str) -> str: imgIn = Image.open(io.BytesIO(imgstr)) imgOut = imgIn.transpose(Image.ROTATE_180) imgOutStr = io.BytesIO() imgOut.save(imgOutStr, format="png") return imgOutStr.getvalue() " assertion.
- step hasInputVar imgstr assertion.
- step hasOutputVar rotate_image-output1 assertion.