annotate wsgraph/client.py @ 25:d1a8c1436ded

notes to self
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 12 Dec 2012 18:39:47 -0800
parents e46b4466abac
children 60d7e38a20cd
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
25
d1a8c1436ded notes to self
Jeff Hammel <jhammel@mozilla.com>
parents: 24
diff changeset
3 from .model import Graph
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
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