mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 09:45:24 +08:00
Remove deprecation warnings when running actor tests (#3563)
* remove deprecation warnings when running actor tests * replacing logger.warn with logger.warning * Update worker.py * Update policy_client.py * Update compression.py
This commit is contained in:
committed by
Philipp Moritz
parent
fb33fa9097
commit
c4cba98c75
@@ -77,7 +77,7 @@ class RemoteFunction(object):
|
||||
num_cpus=None,
|
||||
num_gpus=None,
|
||||
resources=None):
|
||||
logger.warn(
|
||||
logger.warning(
|
||||
"WARNING: _submit() is being deprecated. Please use _remote().")
|
||||
return self._remote(
|
||||
args=args,
|
||||
|
||||
Reference in New Issue
Block a user