From d6933da423eed33560488ffeda9495ca94528f90 Mon Sep 17 00:00:00 2001 From: andrew-rosenfeld-ts Date: Mon, 22 Mar 2021 17:53:49 +0000 Subject: [PATCH] [tune] fixing Trainable.__init__ docstring reference to build() #14824 (#14850) Co-authored-by: Andrew Rosenfeld --- python/ray/tune/trainable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ray/tune/trainable.py b/python/ray/tune/trainable.py index 1f97eb24b..888e95592 100644 --- a/python/ray/tune/trainable.py +++ b/python/ray/tune/trainable.py @@ -59,7 +59,7 @@ class Trainable: Sets up logging and points ``self.logdir`` to a directory in which training outputs should be placed. - Subclasses should prefer defining ``build()`` instead of overriding + Subclasses should prefer defining ``setup()`` instead of overriding ``__init__()`` directly. Args: