Unverified Commit b7791eab authored by Richard Barnes's avatar Richard Barnes Committed by GitHub
Browse files

Remove Python2 style object inheritance (#3597)

Summary: Python3 makes the use of `(object)` in class inheritance unnecessary. Let's modernize our code by eliminating this.

Reviewed By: aaronenyeshi

Differential Revision: D48957872
parent d07aebf5
...@@ -135,7 +135,7 @@ def learn_kmeans( ...@@ -135,7 +135,7 @@ def learn_kmeans(
_LG.info("Finished training the KMeans clustering model successfully") _LG.info("Finished training the KMeans clustering model successfully")
class ApplyKmeans(object): class ApplyKmeans:
def __init__(self, km_path, device): def __init__(self, km_path, device):
import joblib import joblib
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment