[ create a new paste ] login | about

Link: http://codepad.org/mC75xGLF    [ raw code | fork ]

Python, pasted on Aug 5:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# The TDG:
class TDG:
  def find(self, ...):
    pass
  def find_all(self, ...):
    pass
  # ...

class Patients(TDG):
  def find(self, patient_id):
    return Patient(datastore.driver.get_one(Patient.__class__.__name__, patient_id))
  # ...

    


Create a new paste based on this one


Comments: