Skip to content

Commit c8e4fa5

Browse files
committed
Edited README.markdown via GitHub
1 parent cf52927 commit c8e4fa5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.markdown

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ print bill.sponsor_id, bill.vetoed, bill.last_action.text
2222

2323
See RTCtest.py for more examples usage.
2424

25-
Development Notes for Contributers:
25+
Development Notes for Contributers
2626
----------------------------------
2727
- dict2obj is a function that coverts the json converted dictionary into a usable object. Since much of the RTC API's fields are not guaranteed, this may help avoid the extra coding for keyErrors. Additionally, it is convenient to use dot notation instead of dictionaries.
2828

@@ -49,6 +49,9 @@ When writing a classmethod you can skip creating the obj and just return a dicti
4949
...
5050
@classmethod
5151
def titles(cls, bill_id, sections=('titles',), make_obj=False):
52+
...
53+
response = super(Bill, cls).get(func, params, sections, make_obj) #remember to declare make_obj
54+
...
5255
...
5356
</pre></code>
5457
### Other comments

0 commit comments

Comments
 (0)