From f82cab2770a076328a5832b374daec02182b5776 Mon Sep 17 00:00:00 2001 From: Mieszko Banczerowski Date: Mon, 22 Jun 2020 11:12:12 +0200 Subject: [PATCH] GPI-1399: Update get_local_size docs --- src/galaxy/api/plugin.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/galaxy/api/plugin.py b/src/galaxy/api/plugin.py index bcfce3a..04dd176 100644 --- a/src/galaxy/api/plugin.py +++ b/src/galaxy/api/plugin.py @@ -1027,10 +1027,9 @@ class Plugin: It is preferable to avoid iterating over local game files when overriding this method. If possible, please use a more efficient way of game size retrieval. + :param game_id: the id of the installed game :param context: the value returned from :meth:`prepare_local_size_context` - :return: game size (in bytes) or `None` if game size cannot be determined; - '0' if the game is not installed, or if it is not present locally (e.g. installed - on another machine and accessible via remote connection, playable via web browser etc.) + :return: the size of the game on a user-owned storage device (in bytes) or `None` if the size cannot be determined """ raise NotImplementedError()