]> git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/models/player.py
Wire up the Glicko tables in the ORM.
[xonotic/xonstat.git] / xonstat / models / player.py
index 655aa5ce9956526e59025b89c98e83994c82ba43..fece334272b71ee51a97fb7fe27ebe43662c4981 100644 (file)
@@ -255,4 +255,12 @@ class PlayerGlicko(object):
             mu=self.mu * GLICKO2_SCALE + MU,
             phi=self.phi * GLICKO2_SCALE,
             sigma=self.sigma
-        )
\ No newline at end of file
+        )
+
+
+class PlayerGlickoBase(PlayerGlicko):
+    """
+    A clone of the above PlayerGlicko class, but created separately in order to avoid
+    dealing with primary and non-primary SQLAlchemy mappers.
+    """
+    pass
\ No newline at end of file