Last active
January 20, 2019 09:08
-
-
Save weburnit/f80814e2f42d5a0e9b4a52fb839e5104 to your computer and use it in GitHub Desktop.
Historio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from historio import client | |
client.historio(server='grpc_address', port=5505) | |
def somewhere_else_in_your_application(): | |
user = get_current_user() #Get current user | |
assignment = DynamoDBModel() #your source model | |
#time to push | |
client.historio().push(source='assignment', source_id=assignment.id, user_id=user.id, data=model) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment