Merge pull request #134 from erip/patch-1

Address DeprecationWarning
This commit is contained in:
Allegro AI 2020-05-17 14:54:30 +03:00 committed by GitHub
commit b64eed19a9
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_nan_value = 0.
""" Default value used when a np.nan value is encountered """ """ 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): class FileEntry(object):
""" File entry used to report on file data that needs to be uploaded prior to sending the event """ """ File entry used to report on file data that needs to be uploaded prior to sending the event """