diff --git a/index.html b/index.html index 1f2c20e9c..97b827b2f 100644 --- a/index.html +++ b/index.html @@ -6628,6 +6628,7 @@

Inherited members

for rating_result in rating_results: await self._publish_rating_changes( + rating_result.game_id, rating_result.rating_type, rating_result.old_ratings, rating_result.new_ratings, @@ -6689,6 +6690,7 @@

Inherited members

) return GameRatingResult( + game_id, rating_type, old_ratings, new_ratings, @@ -6897,6 +6899,7 @@

Inherited members

async def _publish_rating_changes( self, + game_id: int, rating_type: str, old_ratings: RatingDict, new_ratings: RatingDict, @@ -6913,6 +6916,7 @@

Inherited members

old_rating = old_ratings[player_id] rating_change_dict = { + "game_id": game_id, "player_id": player_id, "rating_type": rating_type, "new_rating_mean": new_rating.mean, diff --git a/rating_service/index.html b/rating_service/index.html index 85d865898..281708d7c 100644 --- a/rating_service/index.html +++ b/rating_service/index.html @@ -325,6 +325,7 @@

Instance variables

for rating_result in rating_results: await self._publish_rating_changes( + rating_result.game_id, rating_result.rating_type, rating_result.old_ratings, rating_result.new_ratings, @@ -386,6 +387,7 @@

Instance variables

) return GameRatingResult( + game_id, rating_type, old_ratings, new_ratings, @@ -594,6 +596,7 @@

Instance variables

async def _publish_rating_changes( self, + game_id: int, rating_type: str, old_ratings: RatingDict, new_ratings: RatingDict, @@ -610,6 +613,7 @@

Instance variables

old_rating = old_ratings[player_id] rating_change_dict = { + "game_id": game_id, "player_id": player_id, "rating_type": rating_type, "new_rating_mean": new_rating.mean, diff --git a/rating_service/rating_service.html b/rating_service/rating_service.html index 0573ca7f2..a17025daf 100644 --- a/rating_service/rating_service.html +++ b/rating_service/rating_service.html @@ -215,6 +215,7 @@

Module server.rating_service.rating_service

for rating_result in rating_results: await self._publish_rating_changes( + rating_result.game_id, rating_result.rating_type, rating_result.old_ratings, rating_result.new_ratings, @@ -276,6 +277,7 @@

Module server.rating_service.rating_service

) return GameRatingResult( + game_id, rating_type, old_ratings, new_ratings, @@ -484,6 +486,7 @@

Module server.rating_service.rating_service

async def _publish_rating_changes( self, + game_id: int, rating_type: str, old_ratings: RatingDict, new_ratings: RatingDict, @@ -500,6 +503,7 @@

Module server.rating_service.rating_service

old_rating = old_ratings[player_id] rating_change_dict = { + "game_id": game_id, "player_id": player_id, "rating_type": rating_type, "new_rating_mean": new_rating.mean, @@ -723,6 +727,7 @@

Classes

for rating_result in rating_results: await self._publish_rating_changes( + rating_result.game_id, rating_result.rating_type, rating_result.old_ratings, rating_result.new_ratings, @@ -784,6 +789,7 @@

Classes

) return GameRatingResult( + game_id, rating_type, old_ratings, new_ratings, @@ -992,6 +998,7 @@

Classes

async def _publish_rating_changes( self, + game_id: int, rating_type: str, old_ratings: RatingDict, new_ratings: RatingDict, @@ -1008,6 +1015,7 @@

Classes

old_rating = old_ratings[player_id] rating_change_dict = { + "game_id": game_id, "player_id": player_id, "rating_type": rating_type, "new_rating_mean": new_rating.mean, diff --git a/rating_service/typedefs.html b/rating_service/typedefs.html index b3393562f..fd3837f47 100644 --- a/rating_service/typedefs.html +++ b/rating_service/typedefs.html @@ -69,6 +69,7 @@

Module server.rating_service.typedefs

class GameRatingResult(NamedTuple): + game_id: int rating_type: str old_ratings: RatingDict new_ratings: RatingDict @@ -94,15 +95,16 @@

Classes

class GameRatingResult -(rating_type: str, old_ratings: dict[int, Rating], new_ratings: dict[int, Rating], outcome_map: dict[int, GameOutcome]) +(game_id: int, rating_type: str, old_ratings: dict[int, Rating], new_ratings: dict[int, Rating], outcome_map: dict[int, GameOutcome])
-

GameRatingResult(rating_type, old_ratings, new_ratings, outcome_map)

+

GameRatingResult(game_id, rating_type, old_ratings, new_ratings, outcome_map)

Expand source code
class GameRatingResult(NamedTuple):
+    game_id: int
     rating_type: str
     old_ratings: RatingDict
     new_ratings: RatingDict
@@ -114,21 +116,25 @@ 

Ancestors

Instance variables

+
var game_id : int
+
+

Alias for field number 0

+
var new_ratings : dict[int, Rating]
-

Alias for field number 2

+

Alias for field number 3

var old_ratings : dict[int, Rating]
-

Alias for field number 1

+

Alias for field number 2

var outcome_map : dict[int, GameOutcome]
-

Alias for field number 3

+

Alias for field number 4

var rating_type : str
-

Alias for field number 0

+

Alias for field number 1

@@ -290,6 +296,7 @@

Index

  • GameRatingResult