Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/omero_cli_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import json
import yaml
import omero
import warnings

from functools import wraps

Expand Down Expand Up @@ -479,6 +480,17 @@ def _lookup(self, gateway, type, oid):
self.ctx.die(110, "No such %s: %s" % (type, oid))
return obj

def render_images(self, gateway, object, batch=100):
"""
DEPRECATED: Use `get_images` instead. This will be removed in a future release.
"""
warnings.warn(
"RenderControl.render_images is deprecated and will be removed in a future release; "
"use `get_images` instead.",
DeprecationWarning
)
return self.get_images(gateway, object, batch)

def get_images(self, gateway, object, batch=100):
"""
Get the images.
Expand Down
Loading