Skip to content

Instantly share code, notes, and snippets.

@fabito
Created August 22, 2018 02:34
Show Gist options
  • Select an option

  • Save fabito/46d2e732cb0e45eca1cd048114c16ec6 to your computer and use it in GitHub Desktop.

Select an option

Save fabito/46d2e732cb0e45eca1cd048114c16ec6 to your computer and use it in GitHub Desktop.
neyboy game - SyncGame
from syncer import sync
class SyncGame:
def __init__(self, game: Game):
self.game = game
def __getattr__(self, attr):
return sync(getattr(self.game, attr))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment