Remove legacy shims for device.from_string and device.Device
Change: 122082760
This commit is contained in:
parent
c4a3d490a8
commit
851012c010
@ -227,12 +227,6 @@ class DeviceSpec(object):
|
||||
return DeviceSpec().parse_from_string(spec)
|
||||
|
||||
|
||||
# For backwards compatibility.
|
||||
# TODO(rjryan): Fix all callers then remove.
|
||||
Device = DeviceSpec
|
||||
from_string = DeviceSpec.from_string
|
||||
|
||||
|
||||
def check_valid(spec):
|
||||
"""Check that a device spec is valid.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user