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.
- rotate_image-output1 type Variable assertion.
- rotate_image-output1 type "str" assertion.
- step type Step assertion.
- step type ScriptTask assertion.
- imgstr type Variable assertion.
- imgstr type "str" assertion.
- rotate_image-output1 label "rotate_image-output1" assertion.
- step label "Rotating an image represented as a string by 180 degrees" assertion.
- imgstr label "imgstr" 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.