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:
Elijah Rippeth 2020-05-15 21:57:42 -04:00 committed by GitHub
parent cb8887da72
commit 59874b1620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 """