annotate wsgraph/client.py @ 24:e46b4466abac

start a RESTful client; putting this here for now; it could go in model.py as it will inherit from the ABC, but keeping it here avoids a ccertain class of import hell
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 12 Dec 2012 18:27:34 -0800
parents
children d1a8c1436ded
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
e46b4466abac start a RESTful client; putting this here for now; it could go in model.py as it will inherit from the ABC, but keeping it here avoids a ccertain class of import hell
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 #!/usr/bin/env python
e46b4466abac start a RESTful client; putting this here for now; it could go in model.py as it will inherit from the ABC, but keeping it here avoids a ccertain class of import hell
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2
e46b4466abac start a RESTful client; putting this here for now; it could go in model.py as it will inherit from the ABC, but keeping it here avoids a ccertain class of import hell
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3
e46b4466abac start a RESTful client; putting this here for now; it could go in model.py as it will inherit from the ABC, but keeping it here avoids a ccertain class of import hell
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4
e46b4466abac start a RESTful client; putting this here for now; it could go in model.py as it will inherit from the ABC, but keeping it here avoids a ccertain class of import hell
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5 class WSGraphClient():
e46b4466abac start a RESTful client; putting this here for now; it could go in model.py as it will inherit from the ABC, but keeping it here avoids a ccertain class of import hell
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 """REST client for WSGraph"""
e46b4466abac start a RESTful client; putting this here for now; it could go in model.py as it will inherit from the ABC, but keeping it here avoids a ccertain class of import hell
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
7
e46b4466abac start a RESTful client; putting this here for now; it could go in model.py as it will inherit from the ABC, but keeping it here avoids a ccertain class of import hell
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
8 def __init__(self, server):
e46b4466abac start a RESTful client; putting this here for now; it could go in model.py as it will inherit from the ABC, but keeping it here avoids a ccertain class of import hell
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
9 self.server = server
e46b4466abac start a RESTful client; putting this here for now; it could go in model.py as it will inherit from the ABC, but keeping it here avoids a ccertain class of import hell
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
10
e46b4466abac start a RESTful client; putting this here for now; it could go in model.py as it will inherit from the ABC, but keeping it here avoids a ccertain class of import hell
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
11 if __name__ == '__main__':
e46b4466abac start a RESTful client; putting this here for now; it could go in model.py as it will inherit from the ABC, but keeping it here avoids a ccertain class of import hell
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
12 pass # TODO