mirror of
https://github.com/clearml/clearml
synced 2025-03-03 18:52:12 +00:00
address DeprecationWarning
Fixes DeprecationWarning: The usage of `cmp` is deprecated and will be removed on or after 2021-06-01. Please use `eq` and `order` instead.
This commit is contained in:
parent
cb8887da72
commit
59874b1620
@ -24,7 +24,7 @@ class MetricsEventAdapter(object):
|
||||
_default_nan_value = 0.
|
||||
""" Default value used when a np.nan value is encountered """
|
||||
|
||||
@attr.attrs(cmp=False, slots=True)
|
||||
@attr.attrs(eq=False, order=False, slots=True)
|
||||
class FileEntry(object):
|
||||
""" File entry used to report on file data that needs to be uploaded prior to sending the event """
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user