Skip to content

Instantly share code, notes, and snippets.

@mokele
Created August 3, 2011 10:29
Show Gist options
  • Save mokele/1122338 to your computer and use it in GitHub Desktop.
Save mokele/1122338 to your computer and use it in GitHub Desktop.
def login(username, password):
msg = seto_pb2.seq_message()
msg.seq = 1
msg.payload.login.username = username
msg.payload.login.password = password
return msg.SerializeToString()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment