GBLS / docassemble-MACourts

List Massachusetts Courts in Docassemble
MIT License
5 stars 11 forks source link

Add a way to load court ID from the court JSON file #15

Closed nonprofittechy closed 4 years ago

nonprofittechy commented 4 years ago

Edit the https://github.com/GBLS/docassemble-MACourts/blob/master/docassemble/MACourts/macourts.py file at the load_courts_from_file method. Around line https://github.com/GBLS/docassemble-MACourts/blob/master/docassemble/MACourts/macourts.py#L440 in the master as of this issue being created (may move around by the time this issue is acted on).

image

plocket commented 4 years ago

I think this means to add the court_code attribute to these objects.

cc271793784 commented 4 years ago

The function has been modified by adding the court_code part and it works. It also pass the test.